summaryrefslogtreecommitdiff
path: root/ext/ldap/ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ldap/ldap.c')
-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 f676205f48..301cbc3e84 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -100,7 +100,7 @@ zend_module_entry ldap_module_entry = {
-#ifdef COMPILE_DL_LDAP
+#if defined(COMPILE_DL) || defined(COMPILE_DL_LDAP)
ZEND_GET_MODULE(ldap)
#endif