From 429c01556b333beb599973b134bd755cd0d35bd3 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 22 Mar 2025 10:56:56 +0100 Subject: [PATCH] cgo: *actually* fix build warnings on Windows ARM See: https://github.com/tinygo-org/tinygo/pull/4628 This removes the comment, which actually fixes the issue. #4628 was incorrect. --- cgo/libclang.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgo/libclang.go b/cgo/libclang.go index 759417a6e..3772ca507 100644 --- a/cgo/libclang.go +++ b/cgo/libclang.go @@ -71,7 +71,7 @@ unsigned tinygo_clang_Cursor_isMacroFunctionLike(GoCXCursor c); // libclang.go:68:5: note: previous declaration is here // See: https://github.com/golang/go/issues/49721 #if defined(_WIN32) -#define CGO_DECL // __declspec(dllexport) +#define CGO_DECL __declspec(dllexport) #else #define CGO_DECL #endif