mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-08 07:42:09 +03:00
8b70486807
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.
17 lines
274 B
C
17 lines
274 B
C
#ifndef _STDC_PREDEF_H
|
|
#define _STDC_PREDEF_H
|
|
|
|
#define __STDC_ISO_10646__ 201206L
|
|
|
|
#if !defined(__GCC_IEC_559) || __GCC_IEC_559 > 0
|
|
#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
|