From: Jay Estabrook <jay.estabr...@gmail.com>

Reviewed-by: Matt Turner <matts...@gmail.com>
Signed-off-by: Jay Estabrook <jay.estabr...@gmail.com>
---
 src/gallium/include/pipe/p_config.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/gallium/include/pipe/p_config.h 
b/src/gallium/include/pipe/p_config.h
index 74a1fa2..9e8ff6a 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -99,6 +99,10 @@
 #endif
 #endif
 
+#if defined(__alpha__)
+#define PIPE_ARCH_ALPHA
+#endif
+
 #if defined(__PPC__)
 #define PIPE_ARCH_PPC
 #if defined(__PPC64__)
@@ -111,7 +115,7 @@
  * Endian detection.
  */
 
-#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64)
+#if defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64) || 
defined(PIPE_ARCH_ALPHA)
 #define PIPE_ARCH_LITTLE_ENDIAN
 #elif defined(PIPE_ARCH_PPC) || defined(PIPE_ARCH_PPC_64)
 #define PIPE_ARCH_BIG_ENDIAN
-- 
1.7.3.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to