From d7abdd314dabf866f159f8d8b887e4af9000b1c7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 14 Dec 2021 15:38:22 +0200 Subject: [PATCH] ci: fix clang build error on macos/freebsd --- vlib/v/gen/c/cheaders.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/v/gen/c/cheaders.v b/vlib/v/gen/c/cheaders.v index 2bdb1df04e..af84a696fc 100644 --- a/vlib/v/gen/c/cheaders.v +++ b/vlib/v/gen/c/cheaders.v @@ -170,6 +170,8 @@ const c_common_macros = ' #endif #ifdef __clang__ #undef __V_GCC__ + #undef EMPTY_STRUCT_INITIALIZATION + #define EMPTY_STRUCT_INITIALIZATION 0 #endif #ifdef _MSC_VER #undef __V_GCC__