summaryrefslogtreecommitdiff
path: root/include/support/solaris/floatingpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/support/solaris/floatingpoint.h')
-rw-r--r--include/support/solaris/floatingpoint.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/support/solaris/floatingpoint.h b/include/support/solaris/floatingpoint.h
new file mode 100644
index 0000000000000..999d144b1f2e5
--- /dev/null
+++ b/include/support/solaris/floatingpoint.h
@@ -0,0 +1,14 @@
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#define atof sun_atof
+#define strtod sun_strtod
+#include_next "floatingpoint.h"
+#undef atof
+#undef strtod