mirror of
https://github.com/fluencelabs/musl
synced 2025-05-28 23:21:34 +00:00
remove the __STDC_FORMAT_MACROS nonsense from inttypes.h
somehow I missed this when removing the corresponding __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS nonsense from stdint.h. these were all attempts by the C committee to guess what the C++ committee would want, and the guesses turned out to be wrong.
This commit is contained in:
parent
1a70198b3e
commit
ec9f5353b1
@ -22,8 +22,6 @@ uintmax_t strtoumax(const char *__restrict, char **__restrict, int);
|
|||||||
intmax_t wcstoimax(const wchar_t *__restrict, wchar_t **__restrict, int);
|
intmax_t wcstoimax(const wchar_t *__restrict, wchar_t **__restrict, int);
|
||||||
uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int);
|
uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int);
|
||||||
|
|
||||||
#if !defined __cplusplus || defined __STDC_FORMAT_MACROS
|
|
||||||
|
|
||||||
#if UINTPTR_MAX == UINT64_MAX
|
#if UINTPTR_MAX == UINT64_MAX
|
||||||
#define __PRI64 "l"
|
#define __PRI64 "l"
|
||||||
#else
|
#else
|
||||||
@ -221,8 +219,6 @@ uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int);
|
|||||||
#define SCNuPTR "lu"
|
#define SCNuPTR "lu"
|
||||||
#define SCNxPTR "lx"
|
#define SCNxPTR "lx"
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user