Browse Source

[GDNative] fixed msvc build

Karroffel 8 năm trước cách đây
mục cha
commit
a6e75c9437
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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__)