diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index c1d7619a0ef..fb1f4592a2b 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -31,7 +31,7 @@ #include "ext/standard/dl.h" #include "php_ldap.h" -#if WIN32|WINNT +#ifdef PHP_WIN32 #include #if HAVE_NSLDAP #include