Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug #878
Browse files Browse the repository at this point in the history
 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
  • Loading branch information
slouken committed Nov 9, 2009
1 parent 50904dc commit 896ca5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions configure.in
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions include/SDL_config.h.in
Expand Up @@ -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
Expand Down

0 comments on commit 896ca5b

Please sign in to comment.