forked from OSchip/llvm-project
[LLDB] Rework a MinGW build fix from D65691
That change didn't contain any explanation for this bit. There shouldn't be any need for a check for MinGW ifdefs here, as long as the include uses lowercase windows.h (as is used consistently elsewhere in the llvm projects). Differential Revision: https://reviews.llvm.org/D67894 llvm-svn: 372656
This commit is contained in:
parent
99d3dd287a
commit
c98bb8658e
|
@ -15,10 +15,8 @@
|
|||
#include "llvm/Support/FormatVariadic.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#ifndef __MINGW32__
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
#endif // __MINGW32__
|
||||
#include <windows.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue