From: Andi Gutmans Date: Thu, 6 Jul 2000 14:47:02 +0000 (+0000) Subject: - Use #ifdef PHP_WIN32 to detect Windows X-Git-Tag: PRE_METHOD_CALL_SEPERATE_FIX_PATCH~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3247b9a2075f9763bedf9a3f9e5c764c3e461663;p=php - Use #ifdef PHP_WIN32 to detect Windows --- diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index 9dc5883cce..08ee765497 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -54,7 +54,7 @@ #if HAVE_UNISTD_H # include #endif -#if WIN32|WINNT +#ifdef PHP_WIN32 # include # include #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(); diff --git a/ext/fdf/php_fdf.h b/ext/fdf/php_fdf.h index 093388846f..3d9d9b40b0 100644 --- a/ext/fdf/php_fdf.h +++ b/ext/fdf/php_fdf.h @@ -32,7 +32,7 @@ #define PHP_FDF_H #if HAVE_FDFLIB -#if WIN32|WINNT +#ifdef PHP_WIN32 #else #define UNIX_DEV #endif