summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2015-10-06 04:32:59 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2015-10-06 04:32:59 +0000
commit89a92b9fb256a22c68b8f5efbc6feb3ef2876b1d (patch)
treec045c7233487afb12f118cec8ae2ca6245e645e4 /compiler-rt/lib
parent5499f4a35ee46a26ff0da5a838b454e4290e80e6 (diff)
downloadbcm5719-llvm-89a92b9fb256a22c68b8f5efbc6feb3ef2876b1d.tar.gz
bcm5719-llvm-89a92b9fb256a22c68b8f5efbc6feb3ef2876b1d.zip
builtins: tweak Windows build
Include Windows.h instead of winbase.h and windef.h Patch by Tee Hao Wei! llvm-svn: 249373
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/builtins/enable_execute_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/enable_execute_stack.c b/compiler-rt/lib/builtins/enable_execute_stack.c
index 23e494051ad..0dc3482c446 100644
--- a/compiler-rt/lib/builtins/enable_execute_stack.c
+++ b/compiler-rt/lib/builtins/enable_execute_stack.c
@@ -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>
OpenPOWER on IntegriCloud