[Glide64] Add extern "C" to export

This commit is contained in:
zilmar 2016-01-25 17:36:56 +11:00
parent a45d503e99
commit f0f8f76cfc
1 changed files with 4 additions and 4 deletions

View File

@ -296,11 +296,11 @@ extern "C" {
/* Plugin types */
#define PLUGIN_TYPE_GFX 2
#ifdef __WINDOWS__
#define EXPORT __declspec(dllexport)
#define CALL _cdecl
#ifdef _WIN32
#define EXPORT extern "C" __declspec(dllexport)
#define CALL __cdecl
#else
#define EXPORT extern
#define EXPORT __attribute__((visibility("default")))
#define CALL
#endif