[compiler-rt] r309537 - [builtins] Fix mingw-w64 cross compilation

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 30 23:01:40 PDT 2017


Author: mstorsjo
Date: Sun Jul 30 23:01:39 2017
New Revision: 309537

URL: http://llvm.org/viewvc/llvm-project?rev=309537&view=rev
Log:
[builtins] Fix mingw-w64 cross compilation

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

Differential Revision: https://reviews.llvm.org/D36066

Modified:
    compiler-rt/trunk/lib/builtins/enable_execute_stack.c

Modified: compiler-rt/trunk/lib/builtins/enable_execute_stack.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/enable_execute_stack.c?rev=309537&r1=309536&r2=309537&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/enable_execute_stack.c (original)
+++ compiler-rt/trunk/lib/builtins/enable_execute_stack.c Sun Jul 30 23:01:39 2017
@@ -22,7 +22,7 @@
 
 #ifdef _WIN32
 #define WIN32_LEAN_AND_MEAN
-#include <Windows.h>
+#include <windows.h>
 #else
 #ifndef __APPLE__
 #include <unistd.h>




More information about the llvm-commits mailing list