diff options
author | Felipe Pena <felipe@php.net> | 2011-07-23 01:08:24 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-07-23 01:08:24 +0000 |
commit | b2558d5f358e4672aa934b728d1d746678cc54e2 (patch) | |
tree | 1661f7d0f83e1a5cc2378f56cde1d16f74c45500 /ext/standard/php_crypt_r.c | |
parent | fb5da94c1bdb1cf69d0ba77fb372b84724339d98 (diff) | |
download | php-git-b2558d5f358e4672aa934b728d1d746678cc54e2.tar.gz |
- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets
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 69c48610f3..e8b482ab6b 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 || \ +#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 */ |