projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
80788a4
)
Fix broken #ifdef for __sparcv8
author
Heikki Linnakangas
<
[email protected]
>
Fri, 13 Feb 2015 21:51:23 +0000
(23:51 +0200)
committer
Heikki Linnakangas
<
[email protected]
>
Fri, 13 Feb 2015 21:56:25 +0000
(23:56 +0200)
Rob Rowan. Back to all supported versions, like the that added
the broken #ifdef.
src/include/storage/s_lock.h
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index 52b86e3f0d755ddd41d71b6615a2ae1b89fd52d8..f4dc0dbedc90b8835abc6ddf939a28bbedb0d3f0 100644
(file)
--- a/
src/include/storage/s_lock.h
+++ b/
src/include/storage/s_lock.h
@@
-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 \