]> granicus.if.org Git - php/commitdiff
enabled macros to call the proper LibC functions
authorAnantha Kesari H Y <hyanantha@php.net>
Wed, 22 Sep 2004 12:45:28 +0000 (12:45 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Wed, 22 Sep 2004 12:45:28 +0000 (12:45 +0000)
Zend/acconfig.h

index a273b95748aa6f63703198e70d9a7e0a320131f6..6bb0d4bae726034474c8067143b9eda812febf2e 100644 (file)
@@ -65,6 +65,13 @@ int zend_sprintf(char *buffer, const char *format, ...);
 
 #include <math.h>
 
+/* To enable the is_nan, is_infinite and is_finite PHP functions */
+#ifdef NETWARE
+       #define HAVE_ISNAN 1
+       #define HAVE_ISINF 1
+       #define HAVE_ISFINITE 1
+#endif
+
 #ifndef zend_isnan
 #ifdef HAVE_ISNAN
 #define zend_isnan(a) isnan(a)