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

Remove #undef MBEDTLS_NET_C from mbedtls_config.h #292

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

tobil4sk
Copy link
Member

This was needed for windows because the <windows.h> include in threading_alt.h broke compilation for net_sockets.c.

See: 888a4b5#diff-979457dd66ad2cbc13093859faaa000ccbc1ad4d24a135f4d6a367a99c13071dR22-R23

However, now that the WIN32_LEAN_AND_MEAN define has been added to threading_alt.h, this avoids the issue so we can remove this #undef.

This was needed for windows because the `<windows.h>` include in
`threading_alt.h` broke compilation for `net_sockets.c`.

See:
HaxeFoundation@888a4b5#diff-979457dd66ad2cbc13093859faaa000ccbc1ad4d24a135f4d6a367a99c13071dR22-R23

However, now that the `WIN32_LEAN_AND_MEAN` define has been added to
`threading_alt.h`, this avoids the issue so we can remove this #undef.
@tobil4sk tobil4sk merged commit abfc747 into HaxeFoundation:master Jul 11, 2024
16 checks passed
@tobil4sk tobil4sk deleted the cleanup-mbedtls-config branch July 11, 2024 12:42
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

Successfully merging this pull request may close these issues.

1 participant