summaryrefslogtreecommitdiff
path: root/ext/mcal/php_mcal.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mcal/php_mcal.c')
-rw-r--r--ext/mcal/php_mcal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mcal/php_mcal.c b/ext/mcal/php_mcal.c
index 6ac0925a6a..05e9dc3d4d 100644
--- a/ext/mcal/php_mcal.c
+++ b/ext/mcal/php_mcal.c
@@ -36,7 +36,7 @@
#include "php.h"
-#if COMPILE_DL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_MCAL)
#include "dl/phpdl.h"
#endif
@@ -126,7 +126,7 @@ zend_module_entry php_mcal_module_entry = {
"mcal", mcal_functions, PHP_MINIT(mcal), NULL, NULL, NULL, PHP_MINFO(mcal), STANDARD_MODULE_PROPERTIES
};
-#if COMPILE_DL
+#if defined(COMPILE_DL) || defined(COMPILE_DL_MCAL)
ZEND_GET_MODULE(php_mcal)
#endif