Uses WORDS_BIGENDIAN to test for and disable big endian architectures.
authorMonty Taylor <mordred@inaugust.com>
Sun, 11 Apr 2010 17:56:46 +0000 (10:56 -0700)
committerMonty Taylor <mordred@inaugust.com>
Sun, 11 Apr 2010 17:56:46 +0000 (10:56 -0700)
tests/hashkit_functions.c
tests/mem_functions.c

index 2dad25fa95ed2838b5e9833ed0c800b386d958a1..842f511f0f34db0a21426f8d4f0bef69adb562c0 100644 (file)
@@ -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;
index 160a89fff26ab0a58eab98c22dd35706cb2dd711..db4126f131b3ffc0a494437a5abcefd1bd2307e7 100644 (file)
@@ -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;