diff options
| author | mikhnenko <[email protected]> | 2024-03-14 22:20:59 +0300 | 
|---|---|---|
| committer | mikhnenko <[email protected]> | 2024-03-14 22:35:49 +0300 | 
| commit | 33f58e9729272963c30e87a2598ba99403bc7498 (patch) | |
| tree | 95da674f733cf6d8419c388f32e8a362ebfbde9d | |
| parent | 7745a5391f16640ec7f41202a9137b3a11e6d3c6 (diff) | |
Use stdatomic.h from upstream
8b271fddab9ba30fac45eb7a3868ba22d0de2c23
| -rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/stdatomic.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/contrib/libs/cxxsupp/libcxx/include/stdatomic.h b/contrib/libs/cxxsupp/libcxx/include/stdatomic.h index d9550c44061..9c002e52918 100644 --- a/contrib/libs/cxxsupp/libcxx/include/stdatomic.h +++ b/contrib/libs/cxxsupp/libcxx/include/stdatomic.h @@ -121,7 +121,7 @@ using std::atomic_signal_fence                         // see below  #  pragma GCC system_header  #endif -#if _LIBCPP_STD_VER > 20 +#if defined(__cplusplus) && _LIBCPP_STD_VER >= 23  #include <atomic>  #include <version> @@ -230,6 +230,6 @@ using std::atomic_thread_fence _LIBCPP_USING_IF_EXISTS;  #   include_next <stdatomic.h>  # endif -#endif // _LIBCPP_STD_VER > 20 +#endif // defined(__cplusplus) && _LIBCPP_STD_VER >= 23  #endif // _LIBCPP_STDATOMIC_H | 
