mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 03:21:24 +03:00
Fix broken #ifdef for __sparcv8
Rob Rowan. Backpatch to all supported versions, like the patch that added the broken #ifdef.
This commit is contained in:
parent
80788a431e
commit
33e879c4e9
@ -404,7 +404,7 @@ tas(volatile slock_t *lock)
|
||||
* requires a barrier. We fall through to the default gcc definition of
|
||||
* S_UNLOCK in this case.
|
||||
*/
|
||||
#elif __sparcv8
|
||||
#elif defined(__sparcv8)
|
||||
/* stbar is available (and required for both PSO, RMO), membar isn't */
|
||||
#define S_UNLOCK(lock) \
|
||||
do \
|
||||
|
Loading…
x
Reference in New Issue
Block a user