Skip to content

Commit 429c015

Browse files
aykevldeadprogram
authored andcommitted
cgo: *actually* fix build warnings on Windows ARM
See: #4628 This removes the comment, which actually fixes the issue. #4628 was incorrect.
1 parent ee76822 commit 429c015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgo/libclang.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ unsigned tinygo_clang_Cursor_isMacroFunctionLike(GoCXCursor c);
7171
// libclang.go:68:5: note: previous declaration is here
7272
// See: https://github.com/golang/go/issues/49721
7373
#if defined(_WIN32)
74-
#define CGO_DECL // __declspec(dllexport)
74+
#define CGO_DECL __declspec(dllexport)
7575
#else
7676
#define CGO_DECL
7777
#endif

0 commit comments

Comments
 (0)