# HG changeset patch # User Sam Lantinga # Date 1296006257 28800 # Node ID e4301cde4de171c37037d63865fac0c89884a568 # Parent dceec93471e7abeb79a51ed012a7576c27308b6d Fixed compile error on Visual C++ diff -r dceec93471e7 -r e4301cde4de1 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 -#define HAVE_MSC_ATOMICS +#define HAVE_MSC_ATOMICS 1 #endif /* Set up for C function definitions, even when using C++ */