diff options
author | Matt Turner <[email protected]> | 2017-11-25 16:45:27 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-11-25 16:46:00 -0800 |
commit | 676761252b731a6bf408e4dca694c31d74a995fc (patch) | |
tree | bfe8476604685dc38b852e309d58134f1dadde0a /src/util | |
parent | 5fa589148aa97fa1a40219c8810d2bda4a110a0b (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.h | 5 |
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 |