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

Attempt to fix 2038 problem with MSVC #1078

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Commits on Oct 6, 2024

  1. Attempt to fix 2038 problem with MSVC

    botovq authored and busterb committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    3467d6f View commit details
    Browse the repository at this point in the history
  2. for poll timeout -1, set loop time more reasonably

    Otherwise it sets looptime to -1, which was skipped by select()
    and caused 100% cpu busy looping.
    busterb committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    0eceb61 View commit details
    Browse the repository at this point in the history
  3. use TIMEVAL typedef with select()

    This prevents the compatibility struct timeval definition in
    sys/time.h from potentially getting used with select() here.
    
    https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-select
    busterb committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    64f15ec View commit details
    Browse the repository at this point in the history