Skip to content

Commit

Permalink
Add symlink for BaseTsd.h in SDK headers. (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jemc committed May 4, 2022
1 parent e058266 commit 61a1a1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit 61a1a1e

Please sign in to comment.