From dcc5f245693fca972890107ae08ce30cc7463bdb Mon Sep 17 00:00:00 2001 From: Jonathan Marler Date: Fri, 15 Sep 2017 08:44:47 -0600 Subject: [PATCH] Fixed softfloat header file for msvc (#482) --- deps/SoftFloat-3d-prebuilt/platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/SoftFloat-3d-prebuilt/platform.h b/deps/SoftFloat-3d-prebuilt/platform.h index d937c7f500..ef99e21b97 100644 --- 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