php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55707
Patch hppa_sync_fetch_and_add_4 revision 2011-09-16 09:37 UTC by techsup at pab dot eu

Patch hppa_sync_fetch_and_add_4 for Compile Failure Bug #55707

Patch version 2011-09-16 09:37 UTC

Return to Bug #55707 | Download this patch
Patch Revisions:

Developer: techsup@pab.eu

--- /var/tmp/php_crypt_r.c	2011-09-16 11:29:29.000000000 +0200
+++ ext/standard/php_crypt_r.c	2011-09-16 11:36:55.000000000 +0200
@@ -94,7 +94,7 @@
 	if (!initialized) {
 #ifdef PHP_WIN32
 		InterlockedIncrement(&initialized);
-#elif (defined(__GNUC__) && !defined(__hpux) && (__GNUC__ > 4 || \
+#elif (defined(__GNUC__) && !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 */
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 24 19:01:53 2014 UTC