summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/ldap/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index c1d7619a0e..fb1f4592a2 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 <string.h>
#if HAVE_NSLDAP
#include <winsock.h>