mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-04 19:10:57 +02:00
correct HAVE_DECL_XXX asking
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user