aboutsummaryrefslogtreecommitdiff
path: root/src/softfloat.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-14 01:44:22 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-14 01:46:47 -0400
commit14cda27b640651829b1d8af996392b650c7835a5 (patch)
tree9aaa94dece961979989e00d40a36a396fe5ea079 /src/softfloat.hpp
parent7ddc259acc2c66057cf8f977e80b971c6375d8af (diff)
downloadzig-14cda27b640651829b1d8af996392b650c7835a5.tar.gz
zig-14cda27b640651829b1d8af996392b650c7835a5.zip
depend on embedded SoftFloat-3d instead of __float128
See #302 See #467
Diffstat (limited to 'src/softfloat.hpp')
-rw-r--r--src/softfloat.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/softfloat.hpp b/src/softfloat.hpp
new file mode 100644
index 0000000000..4b227e9d7c
--- /dev/null
+++ b/src/softfloat.hpp
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2017 Andrew Kelley
+ *
+ * This file is part of zig, which is MIT licensed.
+ * See http://opensource.org/licenses/MIT
+ */
+
+#ifndef ZIG_SOFTFLOAT_HPP
+#define ZIG_SOFTFLOAT_HPP
+
+extern "C" {
+#include "softfloat.h"
+}
+
+#endif