Commit 936828e818098b417c2e1abd2fe119a718ed3133

Con Kolivas 2014-01-25T13:15:44

Win32 falsely comes up as big endian pulling in the wrong hf protocol header.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/hf_protocol.h b/hf_protocol.h
index 629e0c8..b0532c2 100644
--- a/hf_protocol.h
+++ b/hf_protocol.h
@@ -128,7 +128,7 @@
 
 // Structure definitions, LE platforms
 
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if __BYTE_ORDER == __BIG_ENDIAN && !defined(WIN32)
 #include "hf_protocol_be.h"
 #else
 // Generic header