aboutsummaryrefslogtreecommitdiff
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.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libstdc++-v3/include/c_std/std_cmath.h b/libstdc++-v3/include/c_std/std_cmath.h
index b34e172167c..7edf7581f55 100644
--- a/libstdc++-v3/include/c_std/std_cmath.h
+++ b/libstdc++-v3/include/c_std/std_cmath.h
@@ -41,8 +41,8 @@
* contained in the namespace @c std.
*/
-#ifndef _CMATH
-#define _CMATH 1
+#ifndef _GLIBCXX_CMATH
+#define _GLIBCXX_CMATH 1
#pragma GCC system_header
@@ -838,9 +838,8 @@ namespace std
#endif /* _GLIBCXX_USE_C99_FP_MACROS_DYNAMIC */
#endif
-#ifdef _GLIBCXX_NO_TEMPLATE_EXPORT
-# define export
-# include <bits/cmath.tcc>
+#ifndef _GLIBCXX_EXPORT_TEMPLATE
+# include <bits/cmath.tcc>
#endif
#endif