From 5cf329a8dc314db63cbaa724b45500ee8a082768 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Tue, 19 Oct 2021 22:03:26 -0700 Subject: [PATCH] Support llvm-mingw. --- include/godot_cpp/core/defs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/godot_cpp/core/defs.hpp b/include/godot_cpp/core/defs.hpp index c03db503..fc2f00c5 100644 --- a/include/godot_cpp/core/defs.hpp +++ b/include/godot_cpp/core/defs.hpp @@ -38,7 +38,7 @@ #if !defined(GDE_EXPORT) #if defined(_WIN32) #define GDE_EXPORT __declspec(dllexport) -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(__MINGW32__) #define GDE_EXPORT __attribute__((visibility("default"))) #else #define GDE_EXPORT