diff include/begin_code.h @ 3269:a67a961e2171

Removed outdated OS/2 support
author Sam Lantinga <slouken@libsdl.org>
date Sat, 19 Sep 2009 06:43:45 +0000
parents 99210400e8b9
children 245a7d79577c
line wrap: on
line diff
--- a/include/begin_code.h	Sat Sep 19 06:24:07 2009 +0000
+++ b/include/begin_code.h	Sat Sep 19 06:43:45 2009 +0000
@@ -49,16 +49,6 @@
 #  else
 #   define DECLSPEC	__declspec(dllexport)
 #  endif
-# elif defined(__OS2__)
-#  ifdef __WATCOMC__
-#   ifdef BUILD_SDL
-#    define DECLSPEC	__declspec(dllexport)
-#   else
-#    define DECLSPEC
-#   endif
-#  else
-#   define DECLSPEC
-#  endif
 # else
 #  if defined(__GNUC__) && __GNUC__ >= 4
 #   define DECLSPEC	__attribute__ ((visibility("default")))
@@ -73,14 +63,8 @@
 #if defined(__WIN32__) && !defined(__GNUC__)
 #define SDLCALL __cdecl
 #else
-#ifdef __OS2__
-/* But on OS/2, we use the _System calling convention */
-/* to be compatible with every compiler */
-#define SDLCALL _System
-#else
 #define SDLCALL
 #endif
-#endif
 #endif /* SDLCALL */
 
 /* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */