From 78dfa91e1fec4cd1610d1a3e83cedeb62fa74dea Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 14 Aug 2000 19:38:23 +0000 Subject: [PATCH] Move MCLS_FETCH() inside #if HAVE_LIBMCRYPT24. Fixes build against libmcrypt 2.2. --- ext/mcrypt/mcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.40.0