Applied patch from bug id=762 provided by Pierre Phaneuf
authorBob Pendleton <bob@pendleton.com>
Mon, 06 Jul 2009 21:56:38 +0000
changeset 32145625ba0a1e25
parent 3213 1f0f9172a1ff
child 3215 b425c3e2b796
Applied patch from bug id=762 provided by Pierre Phaneuf

this patch enables compilation of SDL_atomic stuff on the Mac.
configure.in
     1.1 --- a/configure.in	Mon Jul 06 21:48:52 2009 +0000
     1.2 +++ b/configure.in	Mon Jul 06 21:56:38 2009 +0000
     1.3 @@ -2881,6 +2881,12 @@
     1.4              SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c"
     1.5              have_audio=yes
     1.6          fi
     1.7 +        # Set up files for the atomic operations library
     1.8 +        if test x$enable_atomic = xyes; then
     1.9 +            AC_DEFINE(SDL_ATOMIC_MACOSX)
    1.10 +            SOURCES="$SOURCES $srcdir/src/atomic/macosx/*.c"
    1.11 +            have_atomic=yes
    1.12 +        fi
    1.13          # Set up files for the joystick library
    1.14          if test x$enable_joystick = xyes; then
    1.15              AC_DEFINE(SDL_JOYSTICK_IOKIT)