Content-Length: 258168 | pFad | http://github.com/postgrespro/postgres/commit/ebdc2e1e20da61b57518a59eb4fc1786f5d1a403

94 Fix broken #ifdef for __sparcv8 · postgrespro/postgres@ebdc2e1 · GitHub
Skip to content

Commit ebdc2e1

Browse files
committed
Fix broken #ifdef for __sparcv8
Rob Rowan. Backpatch to all supported versions, like the patch that added the broken #ifdef.
1 parent 08aaae4 commit ebdc2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/storage/s_lock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ tas(volatile slock_t *lock)
372372
* requires a barrier.
373373
*/
374374
#define S_UNLOCK(lock) (*((volatile slock_t *) (lock)) = 0)
375-
#elif __sparcv8
375+
#elif defined(__sparcv8)
376376
/* stbar is available (and required for both PSO, RMO), membar isn't */
377377
#define S_UNLOCK(lock) \
378378
do \

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ebdc2e1e20da61b57518a59eb4fc1786f5d1a403

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy