summaryrefslogtreecommitdiff
path: root/ext/mcrypt
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-14 19:38:23 +0000
committerSascha Schumann <sas@php.net>2000-08-14 19:38:23 +0000
commit78dfa91e1fec4cd1610d1a3e83cedeb62fa74dea (patch)
tree0cb5fe6f0c9f972ff9a6ce385446e6a33796133d /ext/mcrypt
parent61a058f538fe673b263a2697c36167bcf2e38192 (diff)
downloadphp-git-78dfa91e1fec4cd1610d1a3e83cedeb62fa74dea.tar.gz
Move MCLS_FETCH() inside #if HAVE_LIBMCRYPT24. Fixes build against
libmcrypt 2.2.
Diffstat (limited to 'ext/mcrypt')
-rw-r--r--ext/mcrypt/mcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index af5672f055..974ab9cea4 100644
--- a/ext/mcrypt/mcrypt.c
+++ b/ext/mcrypt/mcrypt.c
@@ -340,11 +340,11 @@ static PHP_MSHUTDOWN_FUNCTION(mcrypt)
PHP_MINFO_FUNCTION(mcrypt)
{
- MCLS_FETCH();
#if HAVE_LIBMCRYPT24
char **modules;
int i, count;
char *tmp, *tmp2;
+ MCLS_FETCH();
tmp = emalloc (2048);
memset (tmp, 0, sizeof(tmp));