summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-05-17 14:23:41 -0400
committerRich Felker <dalias@aerifal.cx>2013-05-17 14:23:41 -0400
commitec9f5353b10eb312af391ec799a3eeea5da145a9 (patch)
treeb07f55b609c05bff816e9940f0f474d2cf5289e3
parent1a70198b3e5a7866bf4c62d090d8a8e28b12521a (diff)
downloadmusl-ec9f5353b10eb312af391ec799a3eeea5da145a9.tar.gz
musl-ec9f5353b10eb312af391ec799a3eeea5da145a9.tar.bz2
musl-ec9f5353b10eb312af391ec799a3eeea5da145a9.tar.xz
musl-ec9f5353b10eb312af391ec799a3eeea5da145a9.zip
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.
-rw-r--r--include/inttypes.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/inttypes.h b/include/inttypes.h
index 05d54ba0..c51769fa 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -22,8 +22,6 @@ uintmax_t strtoumax(const char *__restrict, char **__restrict, int);
intmax_t wcstoimax(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
#define __PRI64 "l"
#else
@@ -221,8 +219,6 @@ uintmax_t wcstoumax(const wchar_t *__restrict, wchar_t **__restrict, int);
#define SCNuPTR "lu"
#define SCNxPTR "lx"
-#endif
-
#ifdef __cplusplus
}
#endif