summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-11-25 16:45:27 -0800
committerMatt Turner <[email protected]>2017-11-25 16:46:00 -0800
commit676761252b731a6bf408e4dca694c31d74a995fc (patch)
treebfe8476604685dc38b852e309d58134f1dadde0a /src/util
parent5fa589148aa97fa1a40219c8810d2bda4a110a0b (diff)
util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC
MSVC doesn't support #warning?! Getting really tired of this.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/u_endian.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/u_endian.h b/src/util/u_endian.h
index 980b1ab2e13..50f94c578ed 100644
--- a/src/util/u_endian.h
+++ b/src/util/u_endian.h
@@ -65,9 +65,10 @@
# define PIPE_ARCH_BIG_ENDIAN
#endif
-#endif
+#elif defined(_MSC_VER)
-#warning Unknown Endianness for this platform. Assuming little endian
#define PIPE_ARCH_LITTLE_ENDIAN
#endif
+
+#endif