From a5fb85ef84441f568bad852d0ee9a45103a9bbdc Mon Sep 17 00:00:00 2001 From: Ycros Date: Sat, 9 Jul 2011 12:39:08 +1000 Subject: [PATCH] Fixed WIN32 compilation with byteswap. --- miner.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miner.h b/miner.h index 9c952f66..657ca747 100644 --- a/miner.h +++ b/miner.h @@ -57,7 +57,7 @@ void *alloca (size_t); #define WANT_X8664_SSE2 1 #endif -#if ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) +#if !defined(WIN32) && ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) #define WANT_BUILTIN_BSWAP #else #if HAVE_BYTESWAP_H