Commit bb1d5345 authored by Sam Lantinga's avatar Sam Lantinga

The OS/2 support has been removed, so we don't need this now.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404371
parent ce3dc434
...@@ -52,12 +52,6 @@ ...@@ -52,12 +52,6 @@
# else # else
# define DECLSPEC __declspec(dllexport) # define DECLSPEC __declspec(dllexport)
# endif # endif
# elif defined(__OS2__)
# ifdef BUILD_SDL
# define DECLSPEC __declspec(dllexport)
# else
# define DECLSPEC
# endif
# else # else
# if defined(__GNUC__) && __GNUC__ >= 4 # if defined(__GNUC__) && __GNUC__ >= 4
# define DECLSPEC __attribute__ ((visibility("default"))) # define DECLSPEC __attribute__ ((visibility("default")))
...@@ -69,18 +63,11 @@ ...@@ -69,18 +63,11 @@
/* By default SDL uses the C calling convention */ /* By default SDL uses the C calling convention */
#ifndef SDLCALL #ifndef SDLCALL
# if defined(__WIN32__) && !defined(__GNUC__) #if defined(__WIN32__) && !defined(__GNUC__)
# define SDLCALL __cdecl #define SDLCALL __cdecl
# elif defined(__OS2__) #else
/* Use the _System calling convention to be compatible with every OS/2 #define SDLCALL
compiler. (Please note that this used to be _cdecl for GCC, but that #endif
was a bug. Someone should go examine and fix the XFree86 integration
instead. We shouldn't be passing SDLCALL function pointers between SDL
and XFree86!) */
# define SDLCALL _System
# else
# define SDLCALL
# endif
#endif /* SDLCALL */ #endif /* SDLCALL */
/* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */ /* Removed DECLSPEC on Symbian OS because SDL cannot be a DLL in EPOC */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment