[PATCH] D51877: [compiler-rt] [Windows] Include BaseTsd.h with lowercase

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 10 12:21:19 PDT 2018


mstorsjo created this revision.
mstorsjo added reviewers: rnk, timurrrr.
Herald added subscribers: Sanitizers, dberris.

This fixes building on a case sensitive filesystem with mingw-w64 headers, where all headers are lowercase.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D51877

Files:
  lib/profile/WindowsMMap.h


Index: lib/profile/WindowsMMap.h
===================================================================
--- lib/profile/WindowsMMap.h
+++ lib/profile/WindowsMMap.h
@@ -12,7 +12,7 @@
 
 #if defined(_WIN32)
 
-#include <BaseTsd.h>
+#include <basetsd.h>
 #include <io.h>
 #include <sys/types.h>
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51877.164717.patch
Type: text/x-patch
Size: 291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180910/76c25263/attachment.bin>


More information about the llvm-commits mailing list