diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-10 23:26:34 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-06-10 23:26:34 +0000 |
| commit | c872177ccb7fa207d03308a7fcb218dbd5cea1be (patch) | |
| tree | 519f13fd83f7d6ef8ed3dc5b817593cc8124e012 /libstdc++-v3/include/c_std/bits/std_cmath.h | |
| parent | 0ea5169b00c142f18526e5cb4d4509e9d946e6ac (diff) | |
| download | ppe42-gcc-c872177ccb7fa207d03308a7fcb218dbd5cea1be.tar.gz ppe42-gcc-c872177ccb7fa207d03308a7fcb218dbd5cea1be.zip | |
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
Add checking for strtof, _Exit in stdlib.h
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* include/c_std/bits/std_cstdio.h: Alphabetize lists.
(snprintf): Put C99 functions into __gnu_cxx namespace.
(vfscanf): Same.
(vscanf): Same.
(vsnprintf): Same.
(vsscanf): Same.
* include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
for C99 functions within _GLIBCPP_USE_C99 guard.
(_Exit): Same.
(strtof): Same.
(strtold): Same.
* include/bits/locale_facets.tcc: Check if C99 is enabled.
* include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
C99 guard.
* include/c_std/bits/cmath.tcc: Formatting tweak.
* include/c_std/bits/std_cmath.h: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/bits/std_cmath.h')
| -rw-r--r-- | libstdc++-v3/include/c_std/bits/std_cmath.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/include/c_std/bits/std_cmath.h b/libstdc++-v3/include/c_std/bits/std_cmath.h index 312e0a69922..d43256c1530 100644 --- a/libstdc++-v3/include/c_std/bits/std_cmath.h +++ b/libstdc++-v3/include/c_std/bits/std_cmath.h @@ -495,7 +495,7 @@ namespace std inline long double tanh(long double __x) { return ::tanh(static_cast<double>(__x)); } #endif -} // std +} #if _GLIBCPP_USE_C99 @@ -556,7 +556,7 @@ namespace __gnu_cxx int __capture_isunordered(_Tp __f1, _Tp __f2) { return isunordered(__f1, __f2); } -} // namespace __gnu_cxx +} #endif #undef fpclassify @@ -651,3 +651,6 @@ namespace std #endif #endif + + + |

