changeset 5098:e4301cde4de1

Fixed compile error on Visual C++
author Sam Lantinga <slouken@libsdl.org>
date Tue, 25 Jan 2011 17:44:17 -0800
parents dceec93471e7
children b938ad843e52
files include/SDL_atomic.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_atomic.h	Tue Jan 25 17:40:06 2011 -0800
+++ b/include/SDL_atomic.h	Tue Jan 25 17:44:17 2011 -0800
@@ -65,7 +65,7 @@
 /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && !defined(_WIN32_WCE)
 #include <intrin.h>
-#define HAVE_MSC_ATOMICS
+#define HAVE_MSC_ATOMICS 1
 #endif
 
 /* Set up for C function definitions, even when using C++ */