[PATCH] D13412: Include wtypes.h to select arch (fix MSVC); remove winbase.h (unneeded)

angelsl via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 10:43:06 PDT 2015


angelsl created this revision.
angelsl added a reviewer: compnerd.
angelsl added subscribers: compnerd, llvm-commits.

http://reviews.llvm.org/D13412

Files:
  lib/builtins/enable_execute_stack.c

Index: lib/builtins/enable_execute_stack.c
===================================================================
--- lib/builtins/enable_execute_stack.c
+++ lib/builtins/enable_execute_stack.c
@@ -21,8 +21,8 @@
 #define HAVE_SYSCONF 1
 
 #ifdef _WIN32
+#include <wtypes.h>
 #include <windef.h>
-#include <winbase.h>
 #else
 #ifndef __APPLE__
 #include <unistd.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13412.36440.patch
Type: text/x-patch
Size: 361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151003/50e948eb/attachment-0001.bin>


More information about the llvm-commits mailing list