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

Enable support for GCC compler v < 4.9 #154

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Commits on Nov 29, 2023

  1. Enable support for GCC compler v < 4.9

    GCCv4.8 and lower doesn't ship with stdatomic implementation
    (even though they don't define __STD_NO_ATOMICS__ for c11).
    If the code is compiled with GCCv4.8 and older, we use builtin
    GCC atomic operations instead.
    
    The patch was initially proposed in quickjs's mailing group:
    https://www.freelists.org/post/quickjs-devel/PATCH-support-for-older-gcc-versions-whitespace-changes-excluded
    loganek committed Nov 29, 2023
    Configuration menu
    Copy the full SHA
    db9516f View commit details
    Browse the repository at this point in the history