summaryrefslogtreecommitdiff
path: root/ext/mcrypt/php_mcrypt.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-01 11:14:22 +0000
committerSascha Schumann <sas@php.net>1999-05-01 11:14:22 +0000
commit8baa86ed515469788e28c16aea4f80029078d03b (patch)
treed72c62d270c6d485828e90b4724f0f98e679d840 /ext/mcrypt/php_mcrypt.h
parent064f75fd1b11f42431a2118289e211fa9afe267e (diff)
downloadphp-git-8baa86ed515469788e28c16aea4f80029078d03b.tar.gz
mcrypt 2.1.18 support, better autoconf checking
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
-rw-r--r--ext/mcrypt/php_mcrypt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mcrypt/php_mcrypt.h b/ext/mcrypt/php_mcrypt.h
index 97ca367b7d..5d511a4816 100644
--- a/ext/mcrypt/php_mcrypt.h
+++ b/ext/mcrypt/php_mcrypt.h
@@ -3,6 +3,12 @@
#if HAVE_LIBMCRYPT
+#if PHP_API_VERSION < 19990421
+#define zend_module_entry php3_module_entry
+#include "modules.h"
+#include "internal_functions.h"
+#endif
+
extern zend_module_entry mcrypt_module_entry;
#define mcrypt_module_ptr &mcrypt_module_entry