mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
stdc-predef.h: prevent redefining __STDC_UTF_{16,32}__ macros
Undefine any previous __STDC_UTF_{16,32}__ macros before defining them to prenvent any warnings of redefining macros. This happens as a result of some compiler versions defining the macros themselves.
This commit is contained in:
parent
407aea628a
commit
8b70486807
1 changed files with 3 additions and 0 deletions
|
@ -7,7 +7,10 @@
|
|||
#define __STDC_IEC_559__ 1
|
||||
#endif
|
||||
|
||||
#undef __STDC_UTF_16__
|
||||
#define __STDC_UTF_16__ 1
|
||||
|
||||
#undef __STDC_UTF_32__
|
||||
#define __STDC_UTF_32__ 1
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue