diff --git a/src/spicelib/devices/dev.c b/src/spicelib/devices/dev.c index 099e3d04b..a80d7025a 100644 --- a/src/spicelib/devices/dev.c +++ b/src/spicelib/devices/dev.c @@ -517,7 +517,8 @@ union ieee754_double } ieee_nan; }; - + +#ifndef HAVE_ISNAN int isnan(double value) @@ -536,4 +537,6 @@ isnan(double value) /* * end isnan.c */ +#endif /* HAVE_ISNAN */ + #endif