# HG changeset patch
# User Sam Lantinga <slouken@libsdl.org>
# Date 1077805567 0
# Node ID 6b28c91bf3d2da6e3d9f395458892bd0df741f54
# Parent  5db50aa5bf087927d7731d4e7d12276b9f9dbf93
This works on MacOS X too. :)

diff -r 5db50aa5bf08 -r 6b28c91bf3d2 include/SDL_endian.h
--- a/include/SDL_endian.h	Thu Feb 26 13:45:22 2004 +0000
+++ b/include/SDL_endian.h	Thu Feb 26 14:26:07 2004 +0000
@@ -71,7 +71,7 @@
 	__asm__("xchgb %b0,%h0" : "=q" (x) :  "0" (x));
 	return x;
 }
-#elif defined(__GNUC__) && defined(__powerpc__)
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
 static __inline__ Uint16 SDL_Swap16(Uint16 x)
 {
 	Uint16 result;
@@ -97,7 +97,7 @@
 	__asm__("bswapl %0" : "=r" (x) : "0" (x));
 	return x;
 }
-#elif defined(__GNUC__) && defined(__powerpc__)
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
 static __inline__ Uint32 SDL_Swap32(Uint32 x)
 {
 	Uint32 result;