diff options
| author | Pablo Delgado <private@pablode.com> | 2021-09-16 01:17:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 16:17:57 -0700 |
| commit | 2f7b9f5ae8be21c6c1d75ae9caefbc7b3f8986a9 (patch) | |
| tree | f41d7e7ce0e628744a33d8cfc9a79ab7e4cb87c1 /source/core | |
| parent | 11d43642008905ac69a3832eb8a9b2ae7b785f86 (diff) | |
Fix incorrect WIN32 macros and missing Windows.h inclusion (#1939)
* Replace WIN32 preprocessor macros with _WIN32
* Add missing Windows.h include for InterlockedIncrement
Diffstat (limited to 'source/core')
| -rw-r--r-- | source/core/slang-shared-library.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-shared-library.cpp b/source/core/slang-shared-library.cpp index 844bea8d9..a67b10a42 100644 --- a/source/core/slang-shared-library.cpp +++ b/source/core/slang-shared-library.cpp @@ -13,7 +13,7 @@ #endif #include <sys/stat.h> #include <sys/types.h> -#ifndef WIN32 +#ifndef _WIN32 # include <unistd.h> #endif |
