svn: /php/php-src/ branches/PHP_5_3/ext/standard/php_crypt_r.c branches/PHP_5_4/ext/standard/php_crypt_r.c trunk/ext/standard/php_crypt_r.c

From: Date: Sat, 23 Jul 2011 01:08:24 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/standard/php_crypt_r.c branches/PHP_5_4/ext/standard/php_crypt_r.c trunk/ext/standard/php_crypt_r.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65572@lists.php.net to get a copy of this message
felipe Sat, 23 Jul 2011 01:08:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313615 Log: - Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets Changed paths: U php/php-src/branches/PHP_5_3/ext/standard/php_crypt_r.c U php/php-src/branches/PHP_5_4/ext/standard/php_crypt_r.c U php/php-src/trunk/ext/standard/php_crypt_r.c Modified: php/php-src/branches/PHP_5_3/ext/standard/php_crypt_r.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/standard/php_crypt_r.c 2011-07-22 22:56:26 UTC (rev 313614) +++ php/php-src/branches/PHP_5_3/ext/standard/php_crypt_r.c 2011-07-23 01:08:24 UTC (rev 313615) @@ -94,7 +94,7 @@ if (!initialized) { #ifdef PHP_WIN32 InterlockedIncrement(&initialized); -#elif (defined(__GNUC__) && (__GNUC__ > 4 || \ +#elif (defined(__GNUC__) && !defined(__hpux) && (__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 */ Modified: php/php-src/branches/PHP_5_4/ext/standard/php_crypt_r.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/standard/php_crypt_r.c 2011-07-22 22:56:26 UTC (rev 313614) +++ php/php-src/branches/PHP_5_4/ext/standard/php_crypt_r.c 2011-07-23 01:08:24 UTC (rev 313615) @@ -94,7 +94,7 @@ if (!initialized) { #ifdef PHP_WIN32 InterlockedIncrement(&initialized); -#elif (defined(__GNUC__) && (__GNUC__ > 4 || \ +#elif (defined(__GNUC__) && !defined(__hpux) && (__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 */ Modified: php/php-src/trunk/ext/standard/php_crypt_r.c =================================================================== --- php/php-src/trunk/ext/standard/php_crypt_r.c 2011-07-22 22:56:26 UTC (rev 313614) +++ php/php-src/trunk/ext/standard/php_crypt_r.c 2011-07-23 01:08:24 UTC (rev 313615) @@ -94,7 +94,7 @@ if (!initialized) { #ifdef PHP_WIN32 InterlockedIncrement(&initialized); -#elif (defined(__GNUC__) && (__GNUC__ > 4 || \ +#elif (defined(__GNUC__) && !defined(__hpux) && (__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 */

« previous php.cvs (#65572) next »