forked from GitHub/gf-core
add EXTERN_C for all API function for MSVC
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
#define PGF_API_DECL EXTERN_C __declspec(dllexport)
|
#define PGF_API_DECL EXTERN_C __declspec(dllexport)
|
||||||
#define PGF_API EXTERN_C __declspec(dllexport)
|
#define PGF_API EXTERN_C __declspec(dllexport)
|
||||||
#elif defined(COMPILING_STATIC_PGF)
|
#elif defined(COMPILING_STATIC_PGF)
|
||||||
#define PGF_API_DECL
|
#define PGF_API_DECL EXTERN_C
|
||||||
#define PGF_API
|
#define PGF_API EXTERN_C
|
||||||
#else
|
#else
|
||||||
#define PGF_API_DECL __declspec(dllimport)
|
#define PGF_API_DECL __declspec(dllimport)
|
||||||
#define PGF_API ERROR_NOT_COMPILING_LIBPGF
|
#define PGF_API ERROR_NOT_COMPILING_LIBPGF
|
||||||
|
|||||||
Reference in New Issue
Block a user