[compiler-rt] r341857 - [Windows] Include BaseTsd.h with lowercase

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 10 13:28:07 PDT 2018


Author: mstorsjo
Date: Mon Sep 10 13:28:06 2018
New Revision: 341857

URL: http://llvm.org/viewvc/llvm-project?rev=341857&view=rev
Log:
[Windows] Include BaseTsd.h with lowercase

This fixes building on a case sensitive filesystem with mingw-w64
headers, where all headers are lowercase. This header actually also
is named with a lowercase name in the Windows SDK as well.

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

Modified:
    compiler-rt/trunk/lib/profile/WindowsMMap.h

Modified: compiler-rt/trunk/lib/profile/WindowsMMap.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/WindowsMMap.h?rev=341857&r1=341856&r2=341857&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/WindowsMMap.h (original)
+++ compiler-rt/trunk/lib/profile/WindowsMMap.h Mon Sep 10 13:28:06 2018
@@ -12,7 +12,7 @@
 
 #if defined(_WIN32)
 
-#include <BaseTsd.h>
+#include <basetsd.h>
 #include <io.h>
 #include <sys/types.h>
 




More information about the llvm-commits mailing list