Changed to include SDL_atomic.c in the windows version of SDL 1.3
authorBob Pendleton <bob@pendleton.com>
Fri, 25 Sep 2009 19:20:25 +0000
changeset 3307 6fb7f38d20b6
parent 3306 a8ec88ff18c7
child 3308 0e000afe3dc0
Changed to include SDL_atomic.c in the windows version of SDL 1.3
configure.in
--- a/configure.in	Fri Sep 25 19:17:16 2009 +0000
+++ b/configure.in	Fri Sep 25 19:20:25 2009 +0000
@@ -2498,6 +2498,12 @@
             fi
             have_audio=yes
         fi
+        # Set up files for the atomic operations library
+        if test x$enable_atomic = xyes; then
+            AC_DEFINE(SDL_ATOMIC_WIN32)
+            SOURCES="$SOURCES $srcdir/src/atomic/win32/*.c"
+            have_atomic=yes
+        fi
         # Set up files for the joystick library
         if test x$enable_joystick = xyes; then
             if test x$have_dinput = xyes; then