瀏覽代碼

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

[GDNative] fixed msvc build
Thomas Herzog 8 年之前
父節點
當前提交
80329157a0
共有 1 個文件被更改,包括 2 次插入2 次删除
  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__)