]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: pre-fill `HAVE_STDATOMIC_H`, `HAVE_ATOMIC` for mingw-w64
authorViktor Szakats <commit@vsz.me>
Thu, 16 Jan 2025 14:21:23 +0000 (15:21 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 17 Jan 2025 14:11:22 +0000 (15:11 +0100)
commitd5fb2b29d58efa683ed080c3790712ea7af8eeb6
tree4a789eff7598883ef250bef7cdd6916f8f8a8b0d
parent25b445e4796bcbf9f842de686a8c384b30f6c2a2
cmake: pre-fill `HAVE_STDATOMIC_H`, `HAVE_ATOMIC` for mingw-w64

`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 #16036
CMake/win32-cache.cmake