mirror of
https://github.com/postgres/postgres.git
synced 2026-03-16 23:52:13 -04: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
08aaae40e1
commit
ebdc2e1e20
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ tas(volatile slock_t *lock)
|
|||
* requires a barrier.
|
||||
*/
|
||||
#define S_UNLOCK(lock) (*((volatile slock_t *) (lock)) = 0)
|
||||
#elif __sparcv8
|
||||
#elif defined(__sparcv8)
|
||||
/* stbar is available (and required for both PSO, RMO), membar isn't */
|
||||
#define S_UNLOCK(lock) \
|
||||
do \
|
||||
|
|
|
|||
Loading…
Reference in a new issue