The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=85becdacf3b043849b240eb1b1b2cde63add0690
commit 85becdacf3b043849b240eb1b1b2cde63add0690 Author: Faraz Vahedi <[email protected]> AuthorDate: 2026-05-01 01:01:20 +0000 Commit: Warner Losh <[email protected]> CommitDate: 2026-06-20 00:23:28 +0000 libc: Add atomics C23 feature test macro Signed-off-by: Faraz Vahedi <[email protected]> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/2185 --- sys/sys/stdatomic.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/sys/stdatomic.h b/sys/sys/stdatomic.h index 67107f47e6b3..c3f9b217519c 100644 --- a/sys/sys/stdatomic.h +++ b/sys/sys/stdatomic.h @@ -27,8 +27,8 @@ * SUCH DAMAGE. */ -#ifndef _STDATOMIC_H_ -#define _STDATOMIC_H_ +#ifndef __STDC_VERSION_STDATOMIC_H__ +#define __STDC_VERSION_STDATOMIC_H__ 202311L #include <sys/cdefs.h> #include <sys/_types.h> @@ -421,4 +421,4 @@ atomic_flag_clear(volatile atomic_flag *__object) #undef __bool_locally_defined #endif -#endif /* !_STDATOMIC_H_ */ +#endif /* !__STDC_VERSION_STDATOMIC_H__ */
