diff options
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
| -rw-r--r-- | ext/mcrypt/mcrypt.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 3a17d6dfa1..ebe968cf24 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -26,7 +26,7 @@  #if HAVE_LIBMCRYPT -#if PHP_WIN32 +#ifdef PHP_WIN32  # include "win32/winutil.h"  #endif @@ -1376,7 +1376,7 @@ PHP_FUNCTION(mcrypt_create_iv)  	iv = ecalloc(size + 1, 1);  	if (source == RANDOM || source == URANDOM) { -#if PHP_WIN32 +#ifdef PHP_WIN32  		/* random/urandom equivalent on Windows */  		BYTE *iv_b = (BYTE *) iv;  		if (php_win32_get_random_bytes(iv_b, (size_t) size) == FAILURE){  | 
