David Snopek added Borland compiler support
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40275
This commit is contained in:
parent
631d757813
commit
fb441e589b
6 changed files with 85 additions and 5 deletions
|
@ -41,7 +41,15 @@
|
|||
# endif
|
||||
# else
|
||||
# ifdef WIN32
|
||||
# define DECLSPEC __declspec(dllexport)
|
||||
# ifdef __BORLANDC__
|
||||
# ifdef BUILD_SDL
|
||||
# define DECLSPEC __declspec(dllexport)
|
||||
# else
|
||||
# define DECLSPEC __declspec(dllimport)
|
||||
# endif
|
||||
# else
|
||||
# define DECLSPEC __declspec(dllexport)
|
||||
# endif
|
||||
# else
|
||||
# define DECLSPEC
|
||||
# endif
|
||||
|
@ -78,7 +86,7 @@
|
|||
#define SDL_INLINE_OKAY
|
||||
#else
|
||||
/* Add any special compiler-specific cases here */
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__BORLANDC__)
|
||||
#define __inline__ __inline
|
||||
#define SDL_INLINE_OKAY
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue