Commit 3d3b393902a5bd9e9397328fd6560c7155318d51

Con Kolivas 2013-11-23T21:20:26

Check for correct big endian macro in hf_protocol

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/hf_protocol.h b/hf_protocol.h
index 387c284..28cc13b 100644
--- a/hf_protocol.h
+++ b/hf_protocol.h
@@ -98,7 +98,7 @@
 
 // Structure definitions, LE platforms
 
-#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#if __BYTE_ORDER == __BIG_ENDIAN
 #include "hf_protocol_be.h"
 #else
 // Generic header