include/begin_code.h
changeset 5062 e8916fe9cfc8
parent 3697 f7b03b6838cb
child 5086 c2539ff054c8
     1.1 --- a/include/begin_code.h	Thu Jan 20 17:33:06 2011 -0800
     1.2 +++ b/include/begin_code.h	Thu Jan 20 18:04:05 2011 -0800
     1.3 @@ -42,7 +42,7 @@
     1.4  #  else
     1.5  #   define DECLSPEC	__declspec(export)
     1.6  #  endif
     1.7 -# elif defined(__WIN32__)
     1.8 +# elif defined(__WINDOWS__)
     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(__WIN32__) && !defined(__GNUC__)
    1.17 +#if defined(__WINDOWS__) && !defined(__GNUC__)
    1.18  #define SDLCALL __cdecl
    1.19  #else
    1.20  #define SDLCALL