summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/c_std/std_cmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/c_std/std_cmath.h')
-rw-r--r--libstdc++-v3/include/c_std/std_cmath.h17
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
-
-
-
OpenPOWER on IntegriCloud