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

Use wspiapi.h for getaddrinfo #28

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Use wspiapi.h for getaddrinfo #28

merged 2 commits into from
Jul 23, 2024

Commits on Jul 23, 2024

  1. Use wspiapi.h for getaddrinfo

    Windows XP and later have getaddrinfo and freeaddrinfo functions in
    ws2_32.dll. Windows 2000 didn't, but said functions were supported by
    the Windows 2000 IPv6 Technology Preview in a separate module. Earlier
    Windows NT platforms and Windows 9x did not support IPv6 or
    getaddrinfo/freeaddrinfo at all. Using wspiapi.h should dynamically
    choose the best possible paths to support getaddrinfo/freeaddrinfo.
    jchv committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    ea070e8 View commit details
    Browse the repository at this point in the history
  2. Add _NO_CRT_STDIO_INLINE to MSVC build

    This is needed to prevent unwanted calls into the universal CRT in some
    cases.
    jchv committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    70c1bff View commit details
    Browse the repository at this point in the history