From 676761252b731a6bf408e4dca694c31d74a995fc Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 25 Nov 2017 16:45:27 -0800 Subject: [PATCH] util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC MSVC doesn't support #warning?! Getting really tired of this. --- src/util/u_endian.h | 5 +++-- 1 file 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 -- 2.30.2