Explorar o código

[GDNative] fixed msvc build

Karroffel %!s(int64=8) %!d(string=hai) anos
pai
achega
a6e75c9437
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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__)