diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-02-13 23:51:23 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2015-02-13 23:56:25 +0200 |
commit | 33e879c4e9f485405fc19b663392d8635714d020 (patch) | |
tree | 5f902758e85a215abe05e7527f0ca4be7df844e3 /src/include/storage/s_lock.h | |
parent | 80788a431e9bff06314a054109fdea66ac538199 (diff) | |
download | postgresql-33e879c4e9f485405fc19b663392d8635714d020.tar.gz |
Fix broken #ifdef for __sparcv8
Rob Rowan. Backpatch to all supported versions, like the patch that added
the broken #ifdef.
Diffstat (limited to 'src/include/storage/s_lock.h')
-rw-r--r-- | src/include/storage/s_lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index 52b86e3f0d..f4dc0dbedc 100644 --- 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 \ |