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

Commit

Permalink
Applied patch from bug id=762 provided by Pierre Phaneuf
Browse files Browse the repository at this point in the history
this patch enables compilation of SDL_atomic stuff on the Mac.
  • Loading branch information
pendletonrc committed Jul 6, 2009
1 parent 895c862 commit efd9e62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.in
Expand Up @@ -2881,6 +2881,12 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
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)
Expand Down

0 comments on commit efd9e62

Please sign in to comment.