include/begin_code.h
changeset 3269 a67a961e2171
parent 2859 99210400e8b9
child 3292 245a7d79577c
     1.1 --- a/include/begin_code.h	Sat Sep 19 06:24:07 2009 +0000
     1.2 +++ b/include/begin_code.h	Sat Sep 19 06:43:45 2009 +0000
     1.3 @@ -49,16 +49,6 @@
     1.4  #  else
     1.5  #   define DECLSPEC	__declspec(dllexport)
     1.6  #  endif
     1.7 -# elif defined(__OS2__)
     1.8 -#  ifdef __WATCOMC__
     1.9 -#   ifdef BUILD_SDL
    1.10 -#    define DECLSPEC	__declspec(dllexport)
    1.11 -#   else
    1.12 -#    define DECLSPEC
    1.13 -#   endif
    1.14 -#  else
    1.15 -#   define DECLSPEC
    1.16 -#  endif
    1.17  # else
    1.18  #  if defined(__GNUC__) && __GNUC__ >= 4
    1.19  #   define DECLSPEC	__attribute__ ((visibility("default")))
    1.20 @@ -73,14 +63,8 @@
    1.21  #if defined(__WIN32__) && !defined(__GNUC__)
    1.22  #define SDLCALL __cdecl
    1.23  #else
    1.24 -#ifdef __OS2__
    1.25 -/* But on OS/2, we use the _System calling convention */
    1.26 -/* to be compatible with every compiler */
    1.27 -#define SDLCALL _System
    1.28 -#else
    1.29  #define SDLCALL
    1.30  #endif
    1.31 -#endif
    1.32  #endif /* SDLCALL */
    1.33  
    1.34  /* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */