From: Gustavo André dos Santos Lopes Date: Sun, 12 Dec 2010 22:27:02 +0000 (+0000) Subject: - Fixed bug #53530 (php_crypt tests gcc version incorrectly due to X-Git-Tag: php-5.4.0alpha1~191^2~515 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52ea9da401233412c367d1403609547f57d42402;p=php - Fixed bug #53530 (php_crypt tests gcc version incorrectly due to typo) (vapier at gmail dot com) --- diff --git a/ext/standard/php_crypt_r.c b/ext/standard/php_crypt_r.c index cd47bfe123..a996981424 100644 --- a/ext/standard/php_crypt_r.c +++ b/ext/standard/php_crypt_r.c @@ -94,7 +94,7 @@ void _crypt_extended_init_r(void) if (!initialized) { #ifdef PHP_WIN32 InterlockedIncrement(&initialized); -#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR >= 2)) +#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)) __sync_fetch_and_add(&initialized, 1); #elif defined(HAVE_ATOMIC_H) /* Solaris 10 defines atomic API within */ membar_producer();