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_CALL
|
||||
# else
|
||||
# define FX_ENTRY extern
|
||||
# define FX_ENTRY __declspec( dllimport )
|
||||
# define FX_CALL __stdcall
|
||||
# endif
|
||||
#elif defined(__WATCOMC__)
|
||||
|
||||
@@ -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 */
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user