Browse Source

revert last commit, simply insane

rlar 14 years ago
parent
commit
dc2938812b
  1. 5
      ChangeLog
  2. 2
      src/include/ngspice/missing_math.h

5
ChangeLog

@ -1,3 +1,8 @@
2012-01-13 Robert Larice
* src/include/ngspice/missing_math.h :
revert last commit, simply insane
checking for being a macro is already done with HAVE_DECL_ISNAN
2012-01-11 Robert Larice 2012-01-11 Robert Larice
* src/include/ngspice/missing_math.h : * src/include/ngspice/missing_math.h :
wrap isnan declaration, isnan is a macro on modern systems wrap isnan declaration, isnan is a macro on modern systems

2
src/include/ngspice/missing_math.h

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

Loading…
Cancel
Save