From 67a4477380d7893bea918ddc77df9b8a1876e578 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 11 Apr 2010 10:56:46 -0700 Subject: [PATCH] Uses WORDS_BIGENDIAN to test for and disable big endian architectures. --- tests/hashkit_functions.c | 2 +- tests/mem_functions.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hashkit_functions.c b/tests/hashkit_functions.c index 2dad25fa..842f511f 100644 --- a/tests/hashkit_functions.c +++ b/tests/hashkit_functions.c @@ -248,7 +248,7 @@ static test_return_t hsieh_run (hashkit_st *hashk __attribute__((unused))) static test_return_t murmur_run (hashkit_st *hashk __attribute__((unused))) { -#ifdef __sparc +#ifdef WORDS_BIGENDIAN return TEST_SKIPPED; #else uint32_t x; diff --git a/tests/mem_functions.c b/tests/mem_functions.c index 160a89ff..db4126f1 100644 --- a/tests/mem_functions.c +++ b/tests/mem_functions.c @@ -4796,7 +4796,7 @@ static test_return_t hsieh_run (memcached_st *memc __attribute__((unused))) static test_return_t murmur_run (memcached_st *memc __attribute__((unused))) { -#ifdef __sparc +#ifdef WORDS_BIGENDIAN return TEST_SKIPPED; #else uint32_t x; -- 2.30.2