diff options
Diffstat (limited to 'main/php/php-uclibc.patch')
-rw-r--r-- | main/php/php-uclibc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php/php-uclibc.patch b/main/php/php-uclibc.patch index 554f66bd5..ca6890e43 100644 --- a/main/php/php-uclibc.patch +++ b/main/php/php-uclibc.patch @@ -4,8 +4,8 @@ if (!initialized) { #ifdef PHP_WIN32 InterlockedIncrement(&initialized); --#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR >= 2)) -+#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR >= 2)) || defined(__UCLIBC__) +-#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)) ++#elif (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)) || defined(__UCLIBC__) __sync_fetch_and_add(&initialized, 1); #elif defined(HAVE_ATOMIC_H) /* Solaris 10 defines atomic API within */ membar_producer(); |