aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/fixincludes/tests/base/iso/math_iso.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/fixincludes/tests/base/iso/math_iso.h')
-rw-r--r--gcc-4.9/fixincludes/tests/base/iso/math_iso.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc-4.9/fixincludes/tests/base/iso/math_iso.h b/gcc-4.9/fixincludes/tests/base/iso/math_iso.h
new file mode 100644
index 000000000..a1313a7f4
--- /dev/null
+++ b/gcc-4.9/fixincludes/tests/base/iso/math_iso.h
@@ -0,0 +1,17 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/iso/math_iso.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SOLARIS_POW_INT_OVERLOAD_CHECK )
+#if __cplusplus < 201103L
+ inline long double pow(long double __X, int __Y) { return
+ __powl(__X, (long double) (__Y)); }
+#endif
+#endif /* SOLARIS_POW_INT_OVERLOAD_CHECK */