Fixed bug #968
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 Mar 2010 15:07:20 +0000
changeset 4431 68dfd6df47da
parent 4429 1bceff8f008f
child 4432 a5ba22ac4060
Fixed bug #968

Andrey 2010-03-07 07:57:14 PST

mingw32ce-build small fix
configure.in
--- a/configure.in	Wed Mar 10 15:02:58 2010 +0000
+++ b/configure.in	Wed Mar 10 15:07:20 2010 +0000
@@ -2382,6 +2382,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 thread library
         if test x$enable_threads = xyes; then
             AC_DEFINE(SDL_THREAD_WIN32)
@@ -2403,12 +2409,6 @@
             SOURCES="$SOURCES $srcdir/src/loadso/win32/*.c"
             have_loadso=yes
         fi
-        # Set up files for the system power library
-        if test x$enable_power = xyes; then
-            AC_DEFINE(SDL_POWER_WINDOWS)
-            SOURCES="$SOURCES $srcdir/src/power/windows/*.c"
-            have_power=yes
-        fi
         # Set up the system libraries we need
         EXTRA_LDFLAGS="$EXTRA_LDFLAGS -lcoredll -lcommctrl -lmmtimer"
         # The Win32 platform requires special setup