Browse Source

Merge commit 'd8c1d8d' into bfgminer-2.10.x

Luke Dashjr 13 years ago
parent
commit
bc5cc1574a
1 changed files with 5 additions and 5 deletions
  1. 5 5
      miner.h

+ 5 - 5
miner.h

@@ -17,6 +17,11 @@
 #include <blkmaker.h>
 #include <blktemplate.h>
 
+#if defined(WORDS_BIGENDIAN) && !defined(__BIG_ENDIAN__)
+/* uthash.h depends on __BIG_ENDIAN__ on BE platforms */
+#define __BIG_ENDIAN__ 1
+#endif
+
 #include "elist.h"
 #include "uthash.h"
 #include "logging.h"
@@ -118,11 +123,6 @@ static inline int fsync (int fd)
  	(uint64_t)bswap_32((uint32_t)((value) >> 32)))
 #endif
 
-#if defined(WORDS_BIGENDIAN) && !defined(__BIG_ENDIAN__)
-/* uthash.h depends on __BIG_ENDIAN__ on BE platforms */
-#define __BIG_ENDIAN__ 1
-#endif
-
 /* This assumes htobe32 is a macro and that if it doesn't exist, then the
  * also won't exist */
 #ifndef htobe32