add stdc-predef.h for library-level predefined macros
authorRich Felker <dalias@aerifal.cx>
Mon, 4 Jul 2016 00:03:30 +0000 (20:03 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 4 Jul 2016 00:03:30 +0000 (20:03 -0400)
commit0f47367751a4baca80ef4f5ab11dbb9b6d7e8bdd
tree0387bac503138880bca5923d3cbda5e08d2099ec
parent0c8bc102f287d3993751d80ba2dffb01e0c8bc7f
add stdc-predef.h for library-level predefined macros

modern compilers (for gcc, versions 4.8 and later) automatically
pre-include <stdc-predef.h> to obtain the values of certain predefined
macros specified by ISO C but which reflect properties of the library
implementation, not just the compiler. provide values indicating that
wchar_t is Unicode-encoded and that Annex F (IEEE floating point) is
supported unless the compiler indicates otherwise.

based on patch by Masanori Ogino.
include/stdc-predef.h [new file with mode: 0644]