[PATCH] D36066: [compiler-rt] Fix mingw-w64 cross compilation

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 13:32:36 PDT 2017


mstorsjo created this revision.
Herald added a subscriber: dberris.

Lowercase the Windows.h include in enable_execute_stack.c, just as in emutls.c in SVN r302340.


https://reviews.llvm.org/D36066

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
@@ -22,7 +22,7 @@
 
 #ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN
-#include <Windows.h>
+#include <windows.h>
 #else
 #ifndef __APPLE__
 #include <unistd.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36066.108844.patch
Type: text/x-patch
Size: 346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170730/293046dd/attachment.bin>


More information about the llvm-commits mailing list