This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Include windows.h with the right capitalization
AbandonedPublic

Authored by mstorsjo on Aug 9 2016, 3:56 AM.

Details

Reviewers
compnerd
Summary

This is an issue if cross-building for windows from a case sensitive
file system - the common spelling is with a lower case 'w'.

Diff Detail

Event Timeline

mstorsjo updated this revision to Diff 67315.Aug 9 2016, 3:56 AM
mstorsjo retitled this revision from to [compiler-rt] Include windows.h with the right capitalization.
mstorsjo updated this object.
mstorsjo added a reviewer: compnerd.
mstorsjo added a subscriber: llvm-commits.
compnerd requested changes to this revision.Aug 9 2016, 7:53 AM
compnerd edited edge metadata.

The MS SDK however provides it with a capitalized name (at least in the recent SDKs). We should change the other case of the header name.

This revision now requires changes to proceed.Aug 9 2016, 7:53 AM
mstorsjo abandoned this revision.Aug 9 2016, 11:27 AM

Hmm, indeed. I'll abandon this then.

Microsoft themselves aren't quite consistent with this within their own headers though; in the win10 sdk in the "um" subdirectory, they've got 470 cases of "#include <windows.h>" and 1 case of "#include <Windows.h>".