util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC
authorMatt Turner <mattst88@gmail.com>
Sun, 26 Nov 2017 00:45:27 +0000 (16:45 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 26 Nov 2017 00:46:00 +0000 (16:46 -0800)
MSVC doesn't support #warning?! Getting really tired of this.

src/util/u_endian.h

index 980b1ab2e13dd2221fcd890911cb2717e24e32bd..50f94c578edef278f223e3e625745d1acf3c2fde 100644 (file)
 # 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