summaryrefslogtreecommitdiff
path: root/ext/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zlib')
-rw-r--r--ext/zlib/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 265567b4b9..b4d0a43e61 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -56,7 +56,7 @@
#include <zlib.h>
-#if defined(COMPILE_DL) || defined(COMPILE_DL_ZLIB)
+#ifdef COMPILE_DL_ZLIB
#include "dl/phpdl.h"
#ifndef PUTS
#define PUTS(a) php_printf("%s",a)
@@ -109,7 +109,7 @@ zend_module_entry php_zlib_module_entry = {
STANDARD_MODULE_PROPERTIES
};
-#if defined(COMPILE_DL) || defined(COMPILE_DL_ZLIB)
+#ifdef COMPILE_DL_ZLIB
ZEND_GET_MODULE(php_zlib)
#endif