projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e94586
)
Don't allow compilation if endianness isn't known
author
Matt Turner
<mattst88@gmail.com>
Mon, 9 May 2011 04:17:04 +0000
(
00:17
-0400)
committer
Michel Dänzer
<daenzer@vmware.com>
Mon, 9 May 2011 10:23:21 +0000
(12:23 +0200)
PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of
ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here
only serves to allow bad things to happen.
Signed-off-by: Matt Turner <mattst88@gmail.com>
src/gallium/include/pipe/p_config.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_config.h
b/src/gallium/include/pipe/p_config.h
index d48188e24f310990d0c3f1c5e4e8742eca6a3517..a0aa2df8de350a891374ad01c9499e3c8d5877dd 100644
(file)
--- a/
src/gallium/include/pipe/p_config.h
+++ b/
src/gallium/include/pipe/p_config.h
@@
-127,7
+127,7
@@
#elif defined(PIPE_ARCH_PPC) || defined(PIPE_ARCH_PPC_64)
#define PIPE_ARCH_BIG_ENDIAN
#else
-#
define PIPE_ARCH_UNKNOWN_ENDIAN
+#
error Unknown Endianness
#endif
#endif