diff options
author | obrien <obrien@FreeBSD.org> | 2003-04-25 21:17:31 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-04-25 21:17:31 +0000 |
commit | a8b06a6a441f76581f3147c70a105b334a9fbdea (patch) | |
tree | 1e03afbd8fd67d4a350c7183e9637c197bfe8ff8 /gnu/lib/libstdc++/config.h | |
parent | 2c1952027e34cbc170e2d0f21220f14394e0b5ea (diff) | |
download | FreeBSD-src-a8b06a6a441f76581f3147c70a105b334a9fbdea.zip FreeBSD-src-a8b06a6a441f76581f3147c70a105b334a9fbdea.tar.gz |
Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()
Submitted by: das
Diffstat (limited to 'gnu/lib/libstdc++/config.h')
-rw-r--r-- | gnu/lib/libstdc++/config.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h index cce0516..7cf13d1 100644 --- a/gnu/lib/libstdc++/config.h +++ b/gnu/lib/libstdc++/config.h @@ -13,7 +13,7 @@ #define _GLIBCPP_USE_LONG_LONG 1 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed. -/* #undef _GLIBCPP_USE_C99 */ +#define _GLIBCPP_USE_C99 1 // Define if code specialized for wchar_t should be used. /* #undef _GLIBCPP_USE_WCHAR_T */ @@ -561,10 +561,10 @@ /* #undef HAVE_SQRTL */ /* Define if you have the strtof function. */ -/* #undef HAVE_STRTOF */ +#define HAVE_STRTOF 1 /* Define if you have the strtold function. */ -/* #undef HAVE_STRTOLD */ +#define HAVE_STRTOLD 1 /* Define if you have the swprintf function. */ #define HAVE_SWPRINTF 1 @@ -660,7 +660,7 @@ #define HAVE_WCSTOD 1 /* Define if you have the wcstof function. */ -/* #undef HAVE_WCSTOF */ +#define HAVE_WCSTOF 1 /* Define if you have the wcstok function. */ #define HAVE_WCSTOK 1 |