mirror of
https://github.com/intel/llvm.git
synced 2026-01-23 07:58:23 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user