4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-25 18:17:17 +08:00
Konstantin Belousov 9f86886873 sys/stdatomic.h: be nicer to c++
Use of stdatomic.h is undefined in C++, even the C++ 2020 standard does not
list stdatomic.h as a C library header supported by the language.  More,
there are some subtle differences between the <atomic> C++ header, and
C11+ stdatomic.h provided features.

Nonetheless, it is a quality of the implementation aspect, so let mis-users
mis-use stdatomic.h as they want, by making a compat shim for _Bool.

PR:	262683
Reported by:	yuri
Reviewed by:	dim, emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D34686
2024-07-09 08:20:50 +02:00
..
2018-01-17 11:47:30 -06:00
2023-08-09 11:38:03 +02:00
2016-04-04 10:25:27 -05:00
2021-02-09 11:07:59 +01:00
2018-09-06 14:11:45 +02:00
2023-12-04 10:26:41 +01:00
2016-11-22 14:21:35 +01:00
2022-05-04 13:08:10 -04:00
2022-05-29 17:45:52 -04:00
2023-08-09 11:38:03 +02:00
2024-07-09 08:20:50 +02:00
2016-10-25 16:24:05 +02:00
2021-10-27 20:02:06 +02:00
2016-04-04 10:25:29 -05:00
2022-07-13 06:55:46 +02:00