include/begin_code.h
changeset 274 051b991765ba
parent 251 b8688cfdc232
child 288 2f5a6062db86
     1.1 --- a/include/begin_code.h	Tue Jan 22 21:14:36 2002 +0000
     1.2 +++ b/include/begin_code.h	Wed Feb 13 17:45:24 2002 +0000
     1.3 @@ -41,7 +41,15 @@
     1.4  #  endif
     1.5  # else
     1.6  # ifdef WIN32
     1.7 -#  define DECLSPEC	__declspec(dllexport)
     1.8 +#  ifdef __BORLANDC__
     1.9 +#   ifdef BUILD_SDL
    1.10 +#    define DECLSPEC __declspec(dllexport)
    1.11 +#   else
    1.12 +#    define DECLSPEC __declspec(dllimport)
    1.13 +#   endif
    1.14 +#  else
    1.15 +#   define DECLSPEC	__declspec(dllexport)
    1.16 +#  endif
    1.17  # else
    1.18  #  define DECLSPEC
    1.19  # endif
    1.20 @@ -78,7 +86,7 @@
    1.21  #define SDL_INLINE_OKAY
    1.22  #else
    1.23  /* Add any special compiler-specific cases here */
    1.24 -#if defined(_MSC_VER)
    1.25 +#if defined(_MSC_VER) || defined(__BORLANDC__)
    1.26  #define __inline__	__inline
    1.27  #define SDL_INLINE_OKAY
    1.28  #else