From: Felipe Pena Date: Sat, 17 Sep 2011 00:01:45 +0000 (+0000) Subject: - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) X-Git-Tag: php-5.3.9RC1~105 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d34acbb5fb348cee521971b468303f022a9d54c;p=php - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) --- diff --git a/ext/standard/php_crypt_r.c b/ext/standard/php_crypt_r.c index d59b248958..042bcb9742 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__) && !defined(__hpux) && (__GNUC__ > 4 || \ +#elif (defined(__GNUC__) && !defined(__hpux) && !defined(__hppa__) && (__GNUC__ > 4 || \ (__GNUC__ == 4 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ > 1))))) __sync_fetch_and_add(&initialized, 1); #elif defined(HAVE_ATOMIC_H) /* Solaris 10 defines atomic API within */