From 896ca5b95c6c2cd1486d1afc6d95ea1d954dd4a2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 9 Nov 2009 04:13:51 +0000 Subject: [PATCH] Fixed bug #878 Jack Jansen 2009-11-05 14:20:22 PST I'm building "fat" SDL 1.3 libraries for MacOSX, but now I am running into the issue that audio does not work on PowerPC macintoshes if you build the library on an Intel. The problem is that configure hard-codes the byteorder, which is then stored in SDL_config.h --- configure.in | 6 ------ include/SDL_config.h.in | 3 --- 2 files changed, 9 deletions(-) diff --git a/configure.in b/configure.in index 4eb65af2d..88693eb02 100644 --- a/configure.in +++ b/configure.in @@ -48,12 +48,6 @@ AC_SUBST(LT_AGE) dnl Detect the canonical build and host environments dnl AC_CANONICAL_HOST -AC_C_BIGENDIAN -if test x$ac_cv_c_bigendian = xyes; then - AC_DEFINE(SDL_BYTEORDER, 4321) -else - AC_DEFINE(SDL_BYTEORDER, 1234) -fi dnl Check for tools AC_PROG_LIBTOOL diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in index 9a9d7039a..bbad229b8 100644 --- a/include/SDL_config.h.in +++ b/include/SDL_config.h.in @@ -59,9 +59,6 @@ #undef SIZEOF_VOIDP #undef SDL_HAS_64BIT_TYPE -/* Endianness */ -#undef SDL_BYTEORDER - /* Comment this if you want to build without any C library requirements */ #undef HAVE_LIBC #if HAVE_LIBC