commit dcc5f245693fca972890107ae08ce30cc7463bdb (tree)
parent 766547dbfeffcc05ed41423ee84a546b1dd07fb7
Author: Jonathan Marler <johnnymarler@gmail.com>
Date: Fri, 15 Sep 2017 08:44:47 -0600
Fixed softfloat header file for msvc (#482)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/deps/SoftFloat-3d-prebuilt/platform.h b/deps/SoftFloat-3d-prebuilt/platform.h
@@ -88,6 +88,10 @@
#endif
#define INLINE inline
+#if _MSC_VER
+#define THREAD_LOCAL __declspec(thread)
+#else
#define THREAD_LOCAL __thread
+#endif
#endif