summaryrefslogtreecommitdiff
path: root/include/SDL_atomic.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-01-25 17:44:17 -0800
committerSam Lantinga <slouken@libsdl.org>2011-01-25 17:44:17 -0800
commit7dba2ad5da5deb642d9a43d375b78055443592a7 (patch)
tree2086e11892213b0b4e3d723ee9e036b54f34b130 /include/SDL_atomic.h
parent3dc100972366961acec97b22167ed4513384c97b (diff)
Fixed compile error on Visual C++
Diffstat (limited to 'include/SDL_atomic.h')
-rw-r--r--include/SDL_atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_atomic.h b/include/SDL_atomic.h
index 8342489d05..872aa1254e 100644
--- a/include/SDL_atomic.h
+++ b/include/SDL_atomic.h
@@ -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++ */