From a6e75c94372941236f56b199ee1617be4b5077d3 Mon Sep 17 00:00:00 2001 From: Karroffel Date: Thu, 20 Apr 2017 13:15:45 +0200 Subject: [PATCH] [GDNative] fixed msvc build --- modules/gdnative/godot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gdnative/godot.h b/modules/gdnative/godot.h index 88d2a9bac21..b05cafbe509 100644 --- a/modules/gdnative/godot.h +++ b/modules/gdnative/godot.h @@ -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__)