mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-29 09:53:18 -06:00
add EXTERN_C for all API function for MSVC
This commit is contained in:
1 parent
14d8b14827
commit
86f8562d36
1 file changed
+2
-2
@@ -13,8 +13,8 @@
|
||||
#define PGF_API_DECL EXTERN_C __declspec(dllexport)
|
||||
#define PGF_API EXTERN_C __declspec(dllexport)
|
||||
#elif defined(COMPILING_STATIC_PGF)
|
||||
#define PGF_API_DECL
|
||||
#define PGF_API
|
||||
#define PGF_API_DECL EXTERN_C
|
||||
#define PGF_API EXTERN_C
|
||||
#else
|
||||
#define PGF_API_DECL __declspec(dllimport)
|
||||
#define PGF_API ERROR_NOT_COMPILING_LIBPGF
|
||||
|
||||
Reference in new issue
Block a user