mirror of
https://github.com/php/php-src.git
synced 2024-09-24 11:27:28 +00:00
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
This commit is contained in:
parent
b5edcb56cb
commit
39c6382b14
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user