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

Support newlib C library configurations without tm_gmtoff field #2600

Merged
merged 1 commit into from
Jan 9, 2023
Merged

Support newlib C library configurations without tm_gmtoff field #2600

merged 1 commit into from
Jan 9, 2023

Commits on Jan 9, 2023

  1. Support newlib C library configurations without tm_gmtoff field

    Newlib C library (https://sourceware.org/newlib/) has a configuration
    option to add tm_gmtoff field to the tm structure. Not all the
    platforms supported by newlib enable this option, and spdlog doesn't
    compile on such platforms due to missing tm_gmtoff field.
    
    Fix this by checking for `__NEWLIB__` and `__TM_GMTOFF` and enabling
    calculate_gmt_offset.
    igrr committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    8a3a315 View commit details
    Browse the repository at this point in the history