summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2011-05-09 00:17:04 -0400
committerMichel Dänzer <[email protected]>2011-05-09 12:23:21 +0200
commit991c1f024977c327e762f5275edbe874c819c85f (patch)
tree31720879faadc007ce8b3c1d80c9decf18cbd0a4 /src/gallium/include/pipe
parent5e945863caa0df03d803eca0ddc52291b606a60d (diff)
Don't allow compilation if endianness isn't known
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 <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index d48188e24f3..a0aa2df8de3 100644
--- 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