Browse Source

Fixed WIN32 compilation with byteswap.

Ycros 14 years ago
parent
commit
a5fb85ef84
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.h

+ 1 - 1
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