diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2010-12-12 22:27:02 +0000 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2010-12-12 22:27:02 +0000 |
commit | 52ea9da401233412c367d1403609547f57d42402 (patch) | |
tree | 744f22eceea1b8e1c19b09e8c0a53a8b27753c07 /ext/standard/php_crypt_r.c | |
parent | e90265ac978a5d92beb7c37ecf3107c2c5f1d7f5 (diff) | |
download | php-git-52ea9da401233412c367d1403609547f57d42402.tar.gz |
- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
typo) (vapier at gmail dot com)
Diffstat (limited to 'ext/standard/php_crypt_r.c')
-rw-r--r-- | ext/standard/php_crypt_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |