summaryrefslogtreecommitdiff
path: root/ext/oracle/oracle.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r--ext/oracle/oracle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c
index e43dddda8a..071d82716b 100644
--- a/ext/oracle/oracle.c
+++ b/ext/oracle/oracle.c
@@ -25,7 +25,7 @@
#define HAS_OLOG 1
-#if defined(COMPILE_DL)
+#if defined(COMPILE_DL) || defined(COMPILE_DL_ORACLE)
# include "dl/phpdl.h"
#endif
@@ -181,7 +181,7 @@ static const text *ora_func_tab[] =
/* 61, 62 */ (text *) "unused", (text *) "OBNDRA"
};
-#if COMPILE_DL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_ORACLE)
ZEND_GET_MODULE(oracle)
#endif