Browse Source

wrap isnan declaration, isnan is a macro on modern systems

rlar 14 years ago
parent
commit
8b4cbf05c9
  1. 4
      ChangeLog
  2. 2
      src/include/ngspice/missing_math.h

4
ChangeLog

@ -1,3 +1,7 @@
2012-01-11 Robert Larice
* src/include/ngspice/missing_math.h :
wrap isnan declaration, isnan is a macro on modern systems
2012-01-11 Robert Larice
* src/frontend/resource.c :
fix printf/scanf format strings to match `unsigned long long' arguments

2
src/include/ngspice/missing_math.h

@ -26,7 +26,7 @@ extern double scalbn(double, int);
#endif
#if !HAVE_DECL_ISNAN
#ifndef HAVE_ISNAN
#if !defined(HAVE_ISNAN) && !defined(isnan)
extern int isnan(double);
#endif
#endif

Loading…
Cancel
Save