From: Monty Taylor Date: Sun, 11 Apr 2010 17:56:46 +0000 (-0700) Subject: Uses WORDS_BIGENDIAN to test for and disable big endian architectures. X-Git-Tag: 0.40~5^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=67a4477380d7893bea918ddc77df9b8a1876e578;p=m6w6%2Flibmemcached Uses WORDS_BIGENDIAN to test for and disable big endian architectures. --- 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;