forked from OSchip/llvm-project
builtins: tweak Windows build
Include Windows.h instead of winbase.h and windef.h Patch by Tee Hao Wei! llvm-svn: 249373
This commit is contained in:
parent
5499f4a35e
commit
89a92b9fb2
|
@ -21,8 +21,8 @@
|
|||
#define HAVE_SYSCONF 1
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#ifndef __APPLE__
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Reference in New Issue