summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index a41289729e..cdad76e80e 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -21,7 +21,7 @@
#include <stdlib.h>
-#if COMPILE_DL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_PGSQL)
#include "dl/phpdl.h"
#endif
@@ -79,7 +79,7 @@ zend_module_entry pgsql_module_entry = {
"pgsql", pgsql_functions, PHP_MINIT(pgsql), PHP_MSHUTDOWN(pgsql), PHP_RINIT(pgsql), NULL, NULL, STANDARD_MODULE_PROPERTIES
};
-#if COMPILE_DL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_PGSQL)
ZEND_GET_MODULE(pgsql)
#endif