wrap isnan declaration, isnan is a macro on modern systems
This commit is contained in:
parent
467c9381a6
commit
8b4cbf05c9
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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…
Reference in New Issue