ci: fix clang build error on macos/freebsd
parent
eeb7d4a7fd
commit
d7abdd314d
|
@ -170,6 +170,8 @@ const c_common_macros = '
|
||||||
#endif
|
#endif
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#undef __V_GCC__
|
#undef __V_GCC__
|
||||||
|
#undef EMPTY_STRUCT_INITIALIZATION
|
||||||
|
#define EMPTY_STRUCT_INITIALIZATION 0
|
||||||
#endif
|
#endif
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#undef __V_GCC__
|
#undef __V_GCC__
|
||||||
|
|
Loading…
Reference in New Issue