Mercurial > sdl-ios-xcode
diff include/begin_code.h @ 5062:e8916fe9cfc8
Fixed bug #925
Changed "win32" to "windows"
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 18:04:05 -0800 |
parents | f7b03b6838cb |
children | c2539ff054c8 |
line wrap: on
line diff
--- a/include/begin_code.h Thu Jan 20 17:33:06 2011 -0800 +++ b/include/begin_code.h Thu Jan 20 18:04:05 2011 -0800 @@ -42,7 +42,7 @@ # else # define DECLSPEC __declspec(export) # endif -# elif defined(__WIN32__) +# elif defined(__WINDOWS__) # ifdef __BORLANDC__ # ifdef BUILD_SDL # define DECLSPEC @@ -63,7 +63,7 @@ /* By default SDL uses the C calling convention */ #ifndef SDLCALL -#if defined(__WIN32__) && !defined(__GNUC__) +#if defined(__WINDOWS__) && !defined(__GNUC__) #define SDLCALL __cdecl #else #define SDLCALL