From 15529b23726daa186264d2f5441ae97c5335f4bf Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 10 Jun 2017 15:38:09 -0400 Subject: [PATCH] ck_ht_hash: fix misuse of preprocessor macro. --- src/ck_ht_hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ck_ht_hash.h b/src/ck_ht_hash.h index 532fa0e..e0767f9 100644 --- a/src/ck_ht_hash.h +++ b/src/ck_ht_hash.h @@ -88,7 +88,7 @@ static inline uint64_t rotl64 ( uint64_t x, int8_t r ) FORCE_INLINE static uint32_t getblock ( const uint32_t * p, int i ) { -#if __s390x__ +#ifdef __s390x__ uint32_t res; __asm__ (" lrv %0,%1\n" @@ -96,7 +96,7 @@ FORCE_INLINE static uint32_t getblock ( const uint32_t * p, int i ) return res; #else return p[i]; -#endif +#endif /* !__s390x__ */ } //-----------------------------------------------------------------------------