]> granicus.if.org Git - php/commitdiff
- Use #ifdef PHP_WIN32 to detect Windows
authorAndi Gutmans <andi@php.net>
Thu, 6 Jul 2000 14:47:02 +0000 (14:47 +0000)
committerAndi Gutmans <andi@php.net>
Thu, 6 Jul 2000 14:47:02 +0000 (14:47 +0000)
ext/fdf/fdf.c
ext/fdf/php_fdf.h

index 9dc5883ccea311e9e14e8470c302dec58ae8f1a9..08ee765497d02fc7251add2971637c18c236f678 100644 (file)
@@ -54,7 +54,7 @@
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif
-#if WIN32|WINNT
+#ifdef PHP_WIN32
 # include <io.h>
 # include <fcntl.h>
 #endif
@@ -115,7 +115,7 @@ PHP_MINIT_FUNCTION(fdf)
 {
        FDFErc err;
        FDF_GLOBAL(le_fdf) = register_list_destructors(phpi_FDFClose, NULL);
-#ifdef WIN32
+#ifdef PHP_WIN32
        return SUCCESS;
 #endif
        err = FDFInitialize();
@@ -136,7 +136,7 @@ PHP_MINFO_FUNCTION(fdf)
 PHP_MSHUTDOWN_FUNCTION(fdf)
 {
        FDFErc err;
-#ifdef WIN32
+#ifdef PHP_WIN32
        return SUCCESS;
 #endif
        err = FDFFinalize();
index 093388846faf6888f6f6a7e060472a8228434403..3d9d9b40b0c0b6fa58000dbef6df45983c5b129b 100644 (file)
@@ -32,7 +32,7 @@
 #define PHP_FDF_H
 
 #if HAVE_FDFLIB
-#if WIN32|WINNT
+#ifdef PHP_WIN32
 #else
 #define UNIX_DEV
 #endif