use dllimport for __MSC__ imports

This commit is contained in:
koolsmoky
2004-07-12 17:41:24 +00:00
parent 2ce94fd316
commit bab2f1ce05
2 changed files with 8 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ typedef struct { float r, g, b, a; } FxColor4;
# define FX_ENTRY
# define FX_CALL
# else
# define FX_ENTRY extern
# define FX_ENTRY __declspec( dllimport )
# define FX_CALL __stdcall
# endif
#elif defined(__WATCOMC__)

View File

@@ -90,8 +90,13 @@
#endif /* FX_DLL_ENABLE */
#else /* FX_DLL_DEFINITION */
#define FX_ENTRY extern
#define FX_CALL __stdcall
#if defined(__MSC__)
#define FX_ENTRY __declspec( dllimport )
#define FX_CALL __stdcall
#else
#define FX_ENTRY extern
#define FX_CALL __stdcall
#endif
#endif /* FX_DLL_DEFINITION */
/*