Skip to content

Commit 33e879c

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 80788a4 commit 33e879c

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
@@ -404,7 +404,7 @@ tas(volatile slock_t *lock)
404404
* requires a barrier. We fall through to the default gcc definition of
405405
* S_UNLOCK in this case.
406406
*/
407-
#elif __sparcv8
407+
#elif defined(__sparcv8)
408408
/* stbar is available (and required for both PSO, RMO), membar isn't */
409409
#define S_UNLOCK(lock) \
410410
do \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy