Skip to content

cmake: pre-fill HAVE_STDATOMIC_H, HAVE_ATOMIC for mingw-w64#16036

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:mingw-cache-atomic
Closed

cmake: pre-fill HAVE_STDATOMIC_H, HAVE_ATOMIC for mingw-w64#16036
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:mingw-cache-atomic

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jan 17, 2025

stdatomic.h and _Atomic were first available in gcc 4.9.0 and
llvm/clang 3.6. Set detection values accordingly and save these two
detections on configure runs.

@github-actions github-actions bot added the build label Jan 17, 2025
@vszakats vszakats changed the title cmake: pre-fill HAVE_STDATOMIC_H and HAVE_ATOMIC for mingw-w64 cmake: pre-fill HAVE_STDATOMIC_H, HAVE_ATOMIC for mingw-w64 Jan 17, 2025
@vszakats vszakats closed this in d5fb2b2 Jan 17, 2025
@vszakats vszakats deleted the mingw-cache-atomic branch January 17, 2025 14:11
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
`stdatomic.h` and `_Atomic` were first available in gcc 4.9.0 and
llvm/clang 3.6. Set detection values accordingly and save these two
detections on configure runs.

Closes curl#16036
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant