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

uwp_socket_protect.hpp is missing #326

Open
dg0yt opened this issue Aug 29, 2024 · 2 comments
Open

uwp_socket_protect.hpp is missing #326

dg0yt opened this issue Aug 29, 2024 · 2 comments

Comments

@dg0yt
Copy link

dg0yt commented Aug 29, 2024

The following file is missing from the git repo:

#include <openvpn/transport/uwp_socket_protect.hpp>

This breaks attempts to build the vcpkg port for UWP.

@lstipakov
Copy link
Member

We haven't built for UWP for a while, and the glue code between openvpn3 and UWP VPN is missing from this repo. We have no immediate plans to support it. Does it compile if you just remove this include block?

@dg0yt
Copy link
Author

dg0yt commented Aug 29, 2024

Does it compile if you just remove this include block?

Maybe if I adjust the typedefs.

#ifdef OPENVPN_PLATFORM_UWP
typedef UWPSocketProtect SocketProtect;
#else
typedef BaseSocketProtect SocketProtect;
#endif

I can't test now, but it might do another vcpkg CI run once other stuff is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants