2
0
Эх сурвалжийг харах

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

[GDNative] fixed msvc build
Thomas Herzog 8 жил өмнө
parent
commit
80329157a0

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