Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebdc2e1

Browse files
committed
Fix broken #ifdef for __sparcv8
Rob Rowan. Backpatch to all supported versions, like the patch that addedthe broken #ifdef.
1 parent08aaae4 commitebdc2e1

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
#defineS_UNLOCK(lock)(*((volatile slock_t *) (lock)) = 0)
375-
#elif__sparcv8
375+
#elifdefined(__sparcv8)
376376
/* stbar is available (and required for both PSO, RMO), membar isn't */
377377
#defineS_UNLOCK(lock)\
378378
do \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp