David Snopek added Borland compiler support

This commit is contained in:
Sam Lantinga
2002-02-13 17:45:24 +00:00
parent 1cddfc9f70
commit 17066571f5
6 changed files with 85 additions and 5 deletions

View File

@@ -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