correct HAVE_DECL_XXX asking

This commit is contained in:
dwarning 2009-01-04 20:36:25 +00:00
parent abc18c40f0
commit c702897d13
3 changed files with 4 additions and 4 deletions

View File

@ -32,9 +32,9 @@ extern int isnan(double);
#endif
#endif
#ifndef HAVE_DECL_ISINF
#if (HAVE_DECL_ISINF < 1)
#ifndef HAVE_ISINF
#if defined(HAVE_FINITE) && (defined (HAVE_DECL_ISNAN) || defined (HAVE_ISNAN))
#if defined(HAVE_FINITE) && ((HAVE_DECL_ISNAN < 1) || defined (HAVE_ISNAN))
#define isinf(x) (!finite(x) && !isnan(x))
#else
#ifdef HAVE_IEEEFP_H

View File

@ -1,6 +1,6 @@
#include "ngspice.h"
#ifndef HAVE_DECL_ISINF
#if (HAVE_DECL_ISINF < 1)
#ifndef HAVE_ISINF

View File

@ -1,6 +1,6 @@
#include "ngspice.h"
#ifndef HAVE_DECL_ISNAN
#if (HAVE_DECL_ISNAN < 1)
#ifndef HAVE_ISNAN
/* isnan (originally) for SOI devices in MINGW32 hvogt (dev.c) */