projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa5891
)
util: Just give up and define PIPE_ARCH_LITTLE_ENDIAN on MSVC
author
Matt Turner
<mattst88@gmail.com>
Sun, 26 Nov 2017 00:45:27 +0000
(16:45 -0800)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/src/util/u_endian.h
b/src/util/u_endian.h
index 980b1ab2e13dd2221fcd890911cb2717e24e32bd..50f94c578edef278f223e3e625745d1acf3c2fde 100644
(file)
--- a/
src/util/u_endian.h
+++ b/
src/util/u_endian.h
@@
-65,9
+65,10
@@
# define PIPE_ARCH_BIG_ENDIAN
#endif
-#e
ndif
+#e
lif defined(_MSC_VER)
-#warning Unknown Endianness for this platform. Assuming little endian
#define PIPE_ARCH_LITTLE_ENDIAN
#endif
+
+#endif