summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support/solaris/floatingpoint.h
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 13:17:28 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 13:17:28 +0000
commit06af2bbb043ef4e96847f5bd636be6e36b9bf1a9 (patch)
tree0f5a8c602a3481c225c4ce8b2215cb71086832ec /libcxx/include/support/solaris/floatingpoint.h
parent14c25b80e9be5aab9b503a53f810c5bbffe4d632 (diff)
downloadbcm5719-llvm-06af2bbb043ef4e96847f5bd636be6e36b9bf1a9.tar.gz
bcm5719-llvm-06af2bbb043ef4e96847f5bd636be6e36b9bf1a9.zip
Add support files required for building on Solaris.
llvm-svn: 151721
Diffstat (limited to 'libcxx/include/support/solaris/floatingpoint.h')
-rw-r--r--libcxx/include/support/solaris/floatingpoint.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/include/support/solaris/floatingpoint.h b/libcxx/include/support/solaris/floatingpoint.h
new file mode 100644
index 00000000000..21b0349aa59
--- /dev/null
+++ b/libcxx/include/support/solaris/floatingpoint.h
@@ -0,0 +1,5 @@
+#define atof sun_atof
+#define strtod sun_strtod
+#include_next "floatingpoint.h"
+#undef atof
+#undef strtod
OpenPOWER on IntegriCloud