Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add symlink for BaseTsd.h in SDK headers. #41

Merged
merged 2 commits into from
May 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/splat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,11 @@ pub(crate) fn splat(
anyhow::bail!("found duplicate relative path when hashed");
}

// https://github.com/zeromq/libzmq/blob/3070a4b2461ec64129062907d915ed665d2ac126/src/precompiled.hpp#L73
if let Some(additional_name) = match fname_str {
// https://github.com/zeromq/libzmq/blob/3070a4b2461ec64129062907d915ed665d2ac126/src/precompiled.hpp#L73
"mstcpip.h" => Some("Mstcpip.h"),
// https://github.com/ponylang/ponyc/blob/8d41d6650b48b9733cd675df199588e6fccc6346/src/common/platform.h#L191
"basetsd.h" => Some("BaseTsd.h"),
_ => None,
} {
tar.pop();
Expand Down
1 change: 1 addition & 0 deletions tests/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2806,6 +2806,7 @@ sdk/include/cppwinrt/winrt/windows.web.http.headers.h @ f3c0219b319bb572
sdk/include/cppwinrt/winrt/windows.web.syndication.h @ fba81df833d19d76
sdk/include/cppwinrt/winrt/windows.web.ui.h @ a6e312bf6e06a36b
sdk/include/cppwinrt/winrt/windows.web.ui.interop.h @ 671d7b874fad4dd8
sdk/include/shared/BaseTsd.h => basetsd.h
sdk/include/shared/BdaTypes.h => bdatypes.h
sdk/include/shared/DriverSpecs.h => driverspecs.h
sdk/include/shared/GenericUsbFnIoctl.h @ fc8133a69d8e2bb9
Expand Down