diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,5 @@
 # Revision history for SecureHash-SHA3
 
-## 0.1.0.0 -- YYYY-mm-dd
+## 0.1.0.2 -- 2018-12-01
 
-* First version. Released on an unsuspecting world.
+* First version that builds with both GCC and CLANG
diff --git a/SecureHash-SHA3.cabal b/SecureHash-SHA3.cabal
--- a/SecureHash-SHA3.cabal
+++ b/SecureHash-SHA3.cabal
@@ -11,7 +11,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.0.1
+version:             0.1.0.2
 
 -- A short (one-line) description of the package.
 synopsis:            simple static linked SHA3 using private symbols and the ref impl
diff --git a/cbits/CTS_SHA3.h b/cbits/CTS_SHA3.h
--- a/cbits/CTS_SHA3.h
+++ b/cbits/CTS_SHA3.h
@@ -191,14 +191,17 @@
 // This test works on GCC and CLANG, which is good enough for me
 #if defined(__LITTLE_ENDIAN__) && !defined(LITTLE_ENDIAN)  \
   || (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
-#define LITTLE_ENDIAN
-endif
+#ifndef CTS_TEST_LITTLE_ENDIAN
+#define CTS_TEST_LITTLE_ENDIAN
+#endif
+#endif
 
-#if !(defined(__LITTLE_ENDIAN__) || defined(__BIG_ENDIAN__)  || defined (__ORDER_LITTLE_ENDIAN__))
+#if !(defined(__LITTLE_ENDIAN__) || defined(__BIG_ENDIAN__)  \
+      || defined(__BYTE_ORDER__) || defined (__ORDER_LITTLE_ENDIAN__) )
 #error "This C code currently assumes a CLANG / GCC compatible cpp env"
 #endif
 
-#ifdef LITTLE_ENDIAN
+#ifdef CTS_TEST_LITTLE_ENDIAN
     #define readLane(x, y)          (((tKeccakLane*)state)[i(x, y)])
     #define writeLane(x, y, lane)   (((tKeccakLane*)state)[i(x, y)]) = (lane)
     #define XORLane(x, y, lane)     (((tKeccakLane*)state)[i(x, y)]) ^= (lane)
