1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix clang build error on macos/freebsd

This commit is contained in:
Delyan Angelov 2021-12-14 15:38:22 +02:00
parent eeb7d4a7fd
commit d7abdd314d
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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__