diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2014-11-04 07:53:30 +0000 |
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2014-11-04 07:53:30 +0000 |
| commit | 6091fe7db9a83e65932ba3b630d04cf8ea5328aa (patch) | |
| tree | 1f88ec0c8b52b840e5d6297431f8929629479d36 /llvm | |
| parent | 83d6857b72d6edb473907970237b14843485b26a (diff) | |
| download | bcm5719-llvm-6091fe7db9a83e65932ba3b630d04cf8ea5328aa.tar.gz bcm5719-llvm-6091fe7db9a83e65932ba3b630d04cf8ea5328aa.zip | |
#include <winbase.h> is not enough for Visual C++ 2013, it errors:
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\minwinbase.h(46):
error C2146: syntax error : missing ';' before identifier 'nLength'
1>C:\Program Files (x86)\Windows Kits\8.1\Include\um\minwinbase.h(46):
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
...
including <windows.h> is actually required.
llvm-svn: 221244
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Support/Windows/Threading.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Threading.inc b/llvm/lib/Support/Windows/Threading.inc index 41fdd981fd6..196be890dbf 100644 --- a/llvm/lib/Support/Windows/Threading.inc +++ b/llvm/lib/Support/Windows/Threading.inc @@ -1,4 +1,4 @@ -#include <winbase.h> + #include <windows.h> #ifdef MemoryFence // WinNT.h seems to define a MemoryFence macro. |

