Mercurial > sdl-ios-xcode
changeset 3214:5625ba0a1e25
Applied patch from bug id=762 provided by Pierre Phaneuf
this patch enables compilation of SDL_atomic stuff on the Mac.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Mon, 06 Jul 2009 21:56:38 +0000 |
parents | 1f0f9172a1ff |
children | b425c3e2b796 |
files | configure.in |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Jul 06 21:48:52 2009 +0000 +++ b/configure.in Mon Jul 06 21:56:38 2009 +0000 @@ -2881,6 +2881,12 @@ SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c" have_audio=yes fi + # Set up files for the atomic operations library + if test x$enable_atomic = xyes; then + AC_DEFINE(SDL_ATOMIC_MACOSX) + SOURCES="$SOURCES $srcdir/src/atomic/macosx/*.c" + have_atomic=yes + fi # Set up files for the joystick library if test x$enable_joystick = xyes; then AC_DEFINE(SDL_JOYSTICK_IOKIT)