]> granicus.if.org Git - php/commitdiff
- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
authorGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 12 Dec 2010 22:27:02 +0000 (22:27 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Sun, 12 Dec 2010 22:27:02 +0000 (22:27 +0000)
  typo) (vapier at gmail dot com)

ext/standard/php_crypt_r.c

index a7f3eb40d350f6480892a99f4b6f4ddfe6f958bc..cfa23dce0cb1a546052ad19a7c0477f5c585089f 100644 (file)
@@ -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();