# HG changeset patch # User Sam Lantinga # Date 1257740031 0 # Node ID ee0178f1c50759abed24ad66e0e652ca7aa7af18 # Parent 25ccea045c9fd97e00d19bfae9ae1fd3aa834935 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 diff -r 25ccea045c9f -r ee0178f1c507 configure.in --- a/configure.in Sun Nov 08 04:21:59 2009 +0000 +++ b/configure.in Mon Nov 09 04:13:51 2009 +0000 @@ -48,12 +48,6 @@ 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 -r 25ccea045c9f -r ee0178f1c507 include/SDL_config.h.in --- a/include/SDL_config.h.in Sun Nov 08 04:21:59 2009 +0000 +++ b/include/SDL_config.h.in Mon Nov 09 04:13:51 2009 +0000 @@ -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