mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
- Fixed #53310 (sparc < v9 won't is not supported)
This commit is contained in:
parent
f774e7dbed
commit
cb2bb12de5
@ -95,6 +95,8 @@ typedef uint32_t atomic_uint_t;
|
||||
|
||||
#elif ( __sparc__ || __sparc ) /* Marcin Ochab */
|
||||
|
||||
#if (__sparcv9 || __sparcv9__)
|
||||
|
||||
#if (__arch64__ || __arch64)
|
||||
typedef uint64_t atomic_uint_t;
|
||||
typedef volatile atomic_uint_t atomic_t;
|
||||
@ -131,9 +133,13 @@ static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, at
|
||||
/* }}} */
|
||||
#endif
|
||||
|
||||
#else /* #if (__sparcv9 || __sparcv9__) */
|
||||
#error Sparc v8 and predecessors are not and will not be supported (see bug report 53310)
|
||||
#endif /* #if (__sparcv9 || __sparcv9__) */
|
||||
|
||||
#else
|
||||
|
||||
#error unsupported processor. please write a patch and send it to me
|
||||
#error Unsupported processor. Please open a bug report (bugs.php.net).
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user