From 60234de3b50249bdf69a6644caba73b396f9ad24 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Tue, 4 Nov 2014 07:53:30 +0000 Subject: [PATCH] #include 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 is actually required. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221244 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Threading.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Windows/Threading.inc b/lib/Support/Windows/Threading.inc index 41fdd981fd6..196be890dbf 100644 --- a/lib/Support/Windows/Threading.inc +++ b/lib/Support/Windows/Threading.inc @@ -1,4 +1,4 @@ -#include + #include #ifdef MemoryFence // WinNT.h seems to define a MemoryFence macro. -- 2.34.1