[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:
Martin Storsjo 2019-09-23 20:43:11 +00:00
parent 99d3dd287a
commit c98bb8658e
1 changed files with 1 additions and 3 deletions

View File

@ -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