Pārlūkot izejas kodu

[GDNative] fixed msvc build

Karroffel 8 gadi atpakaļ
vecāks
revīzija
a6e75c9437
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      modules/gdnative/godot.h

+ 2 - 2
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__)