ci: fix clang build error on macos/freebsd

pull/12836/head^2
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
1 changed files with 2 additions and 0 deletions

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__