Fixed compile error on Visual C++
authorSam Lantinga <slouken@libsdl.org>
Tue, 25 Jan 2011 17:44:17 -0800
changeset 5096 e4301cde4de1
parent 5095 dceec93471e7
child 5097 b938ad843e52
Fixed compile error on Visual C++
include/SDL_atomic.h
--- 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++ */