use dllimport for __MSC__ imports
This commit is contained in:
@@ -69,7 +69,7 @@ typedef struct { float r, g, b, a; } FxColor4;
|
|||||||
# define FX_ENTRY
|
# define FX_ENTRY
|
||||||
# define FX_CALL
|
# define FX_CALL
|
||||||
# else
|
# else
|
||||||
# define FX_ENTRY extern
|
# define FX_ENTRY __declspec( dllimport )
|
||||||
# define FX_CALL __stdcall
|
# define FX_CALL __stdcall
|
||||||
# endif
|
# endif
|
||||||
#elif defined(__WATCOMC__)
|
#elif defined(__WATCOMC__)
|
||||||
|
|||||||
@@ -90,8 +90,13 @@
|
|||||||
#endif /* FX_DLL_ENABLE */
|
#endif /* FX_DLL_ENABLE */
|
||||||
|
|
||||||
#else /* FX_DLL_DEFINITION */
|
#else /* FX_DLL_DEFINITION */
|
||||||
#define FX_ENTRY extern
|
#if defined(__MSC__)
|
||||||
#define FX_CALL __stdcall
|
#define FX_ENTRY __declspec( dllimport )
|
||||||
|
#define FX_CALL __stdcall
|
||||||
|
#else
|
||||||
|
#define FX_ENTRY extern
|
||||||
|
#define FX_CALL __stdcall
|
||||||
|
#endif
|
||||||
#endif /* FX_DLL_DEFINITION */
|
#endif /* FX_DLL_DEFINITION */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user