include/begin_code.h
changeset 5086 c2539ff054c8
parent 5062 e8916fe9cfc8
child 5262 b530ef003506
     1.1 --- a/include/begin_code.h	Mon Jan 24 15:10:16 2011 -0800
     1.2 +++ b/include/begin_code.h	Mon Jan 24 15:46:11 2011 -0800
     1.3 @@ -42,7 +42,7 @@
     1.4  #  else
     1.5  #   define DECLSPEC	__declspec(export)
     1.6  #  endif
     1.7 -# elif defined(__WINDOWS__)
     1.8 +# elif defined(__WIN32__)
     1.9  #  ifdef __BORLANDC__
    1.10  #   ifdef BUILD_SDL
    1.11  #    define DECLSPEC
    1.12 @@ -63,7 +63,7 @@
    1.13  
    1.14  /* By default SDL uses the C calling convention */
    1.15  #ifndef SDLCALL
    1.16 -#if defined(__WINDOWS__) && !defined(__GNUC__)
    1.17 +#if defined(__WIN32__) && !defined(__GNUC__)
    1.18  #define SDLCALL __cdecl
    1.19  #else
    1.20  #define SDLCALL