Merge pull request #8464 from karroffel/gdnative-msvc-fix

[GDNative] fixed msvc build
This commit is contained in:
Thomas Herzog 2017-04-20 13:59:04 +02:00 committed by GitHub
commit 80329157a0
1 changed files with 2 additions and 2 deletions

View File

@ -40,10 +40,10 @@ extern "C" {
#ifdef _WIN32
#if defined(GDAPI_EXPORT)
#define GDCALLINGCONV __cdecl
#define GDCALLINGCONV
#define GDAPI __declspec(dllexport) GDCALLINGCONV
#else
#define GDCALLINGCONV __cdecl
#define GDCALLINGCONV
#define GDAPI __declspec(dllimport) GDCALLINGCONV
#endif
#elif defined(__APPLE__)