[Glide64] Add extern "C" to export
This commit is contained in:
parent
a45d503e99
commit
f0f8f76cfc
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue