[PATCH] D23308: [compiler-rt] Include windows.h with the right capitalization
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 03:56:43 PDT 2016
mstorsjo created this revision.
mstorsjo added a reviewer: compnerd.
mstorsjo added a subscriber: llvm-commits.
Herald added a subscriber: dberris.
This is an issue if cross-building for windows from a case sensitive
file system - the common spelling is with a lower case 'w'.
https://reviews.llvm.org/D23308
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: D23308.67315.patch
Type: text/x-patch
Size: 346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160809/76d962bc/attachment.bin>
More information about the llvm-commits
mailing list