From 42fea14e27c0bb22dc158f03474ac8d99c0882ef Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 10 Mar 2010 15:07:20 +0000 Subject: [PATCH] Fixed bug #968 Andrey 2010-03-07 07:57:14 PST mingw32ce-build small fix --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 1f6846256..771d9f984 100644 --- a/configure.in +++ b/configure.in @@ -2382,6 +2382,12 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau 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 @@ AC_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau 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