summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2015-08-09 00:13:28 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2015-08-09 00:13:28 +0000
commit7cfeb54bef25e9f8911740f10225b98aedfaf945 (patch)
tree11812ec45fab6c82952403e2e249f5c8d2d0ea9c /ev.c
parent8039e4d10a791a8556a7868f8f5af9d4866bfd1f (diff)
downloadlibev-7cfeb54bef25e9f8911740f10225b98aedfaf945.tar.gz
libev-7cfeb54bef25e9f8911740f10225b98aedfaf945.zip
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 39b9faf..6a89fbd 100644
--- a/ev.c
+++ b/ev.c
@@ -669,7 +669,7 @@ struct signalfd_siginfo
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb" : : : "memory")
#elif __aarch64__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb ish" : : : "memory")
- #elif (__sparc || __sparc__) && !__sparcv8
+ #elif (__sparc || __sparc__) && !(__sparc_v8__ || defined __sparcv8)
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad | #StoreStore | #StoreLoad" : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad" : : : "memory")
#define ECB_MEMORY_FENCE_RELEASE __asm__ __volatile__ ("membar #LoadStore | #StoreStore")