diff options
| author | Jonathan Marler <johnnymarler@gmail.com> | 2017-09-15 08:44:47 -0600 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-09-15 10:44:47 -0400 |
| commit | dcc5f245693fca972890107ae08ce30cc7463bdb (patch) | |
| tree | 16356407dae7d109dd7c5876c70794b12683cf74 | |
| parent | 766547dbfeffcc05ed41423ee84a546b1dd07fb7 (diff) | |
| download | zig-dcc5f245693fca972890107ae08ce30cc7463bdb.tar.gz zig-dcc5f245693fca972890107ae08ce30cc7463bdb.zip | |
Fixed softfloat header file for msvc (#482)
| -rw-r--r-- | deps/SoftFloat-3d-prebuilt/platform.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
