diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-23 03:19:03 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-23 03:19:03 +0000 |
| commit | d50d98edf16a79951cf0072a00d6a1c2b9740233 (patch) | |
| tree | 1c21dccc90687181fd59c47b43eb131f60f0eaa9 /libstdc++-v3/include/c_std/std_cmath.h | |
| parent | 3809658e8b2814460de78895f83b99f2303fb259 (diff) | |
| download | ppe42-gcc-d50d98edf16a79951cf0072a00d6a1c2b9740233.tar.gz ppe42-gcc-d50d98edf16a79951cf0072a00d6a1c2b9740233.zip | |
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51220 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/c_std/std_cmath.h')
| -rw-r--r-- | libstdc++-v3/include/c_std/std_cmath.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libstdc++-v3/include/c_std/std_cmath.h b/libstdc++-v3/include/c_std/std_cmath.h index d6c52cfec79..e804e72d69b 100644 --- a/libstdc++-v3/include/c_std/std_cmath.h +++ b/libstdc++-v3/include/c_std/std_cmath.h @@ -1,6 +1,7 @@ -// -*- C++ -*- C math library. +// -*- C++ -*- C forwarding header. -// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -40,12 +41,13 @@ * contained in the namespace @c std. */ -#ifndef _CPP_CMATH -#define _CPP_CMATH 1 +#ifndef _CMATH +#define _CMATH 1 + +#pragma GCC system_header #include <bits/c++config.h> -#pragma GCC system_header #include <math.h> // Get rid of those macros defined in <math.h> in lieu of real functions. @@ -656,10 +658,7 @@ namespace std #ifdef _GLIBCPP_NO_TEMPLATE_EXPORT # define export -# include <cmath.tcc> +# include <bits/cmath.tcc> #endif #endif - - - |

