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

Windows: json-c 0.17 compatibility with ssize_t type definition (1.0.4) #1064

Commits on Oct 19, 2023

  1. Windows: json-c 0.17 compatibility with ssize_t type definition

    json-c 0.17 defines the ssize_t type using a typedef on Windows.
    We have been setting ssize_t for Windows to a different type using
    a #define instead of a typedef.
    
    We should have been using a typedef since it is a type.
    However, we must also match the exact type they're setting it to or else
    the compiler will baulk because the types are different.
    
    Note: in C11, it's fine to use typedef the same type more than once, so
    long as you're defining it the same every time.
    micahsnyder committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    44251d7 View commit details
    Browse the repository at this point in the history