Module: Mesa
Branch: 7.10
Commit: 7c3cf50d9988d721e79277180e29aaf6afa40be5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c3cf50d9988d721e79277180e29aaf6afa40be5

Author: Jeremy Huddleston <[email protected]>
Date:   Sun Jul 31 09:21:56 2011 -0700

Fix PPC detection on darwin

Fixes regression introduced by 7004582c1894ede839c44e292b413fe4916d7e9e

Signed-off-by: Jeremy Huddleston <[email protected]>
(cherry picked from commit e737a99a6fbafe3ba4b5175eea25d1598dbeb9d8)

---

 src/gallium/include/pipe/p_config.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/include/pipe/p_config.h 
b/src/gallium/include/pipe/p_config.h
index 74a1fa2..2b55745 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -99,9 +99,9 @@
 #endif
 #endif
 
-#if defined(__PPC__)
+#if defined(__ppc__) || defined(__ppc64__) || defined(__PPC__)
 #define PIPE_ARCH_PPC
-#if defined(__PPC64__)
+#if defined(__ppc64__) || defined(__PPC64__)
 #define PIPE_ARCH_PPC_64
 #endif
 #endif

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to