diff options
| author | Matthew Parlane <parlane@gmail.com> | 2017-01-24 13:47:36 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-24 13:47:36 +1300 |
| commit | f70a1a27fae804bf7e1b8b85f4e1a990631efc7b (patch) | |
| tree | edf4221f16dd311cbf0370eb005f779c3a1eff9c /Source/Core/Common/Thread.cpp | |
| parent | 00c993143f2934ac9b5cb211e2579a0bcc146864 (diff) | |
| parent | 0bc40cacda333910d7ebfc403122c2b914cd8778 (diff) | |
Merge pull request #4726 from ligfx/addingwindowsheaders
Fix building without PCH on Windows
Diffstat (limited to 'Source/Core/Common/Thread.cpp')
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp index a03b9c2e57..909016e7ae 100644 --- a/Source/Core/Common/Thread.cpp +++ b/Source/Core/Common/Thread.cpp @@ -6,7 +6,9 @@ #include "Common/CommonFuncs.h" #include "Common/CommonTypes.h" -#ifndef _WIN32 +#ifdef _WIN32 +#include <windows.h> +#else #include <unistd.h> #endif |
