commit | 5b5bab5b1c7a8a901a38c6bf72f2af5e18d03cf2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Oct 17 16:38:05 2024 +0000 |
committer | Elliott Hughes <enh@google.com> | Thu Oct 17 16:38:05 2024 +0000 |
tree | b6eaeea019a6b9563687543f4511171767cf7707 | |
parent | 2bef43c039815b7a5e50fffdc2e3755acb958601 [diff] |
Add a <stdatomic.h> header test, and the missing kill_dependency macro. Test expectations based on https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdatomic.h.html Change-Id: Ida47c3a9c67a9c4af8a4c4174d2e765615034175
diff --git a/libc/include/bits/stdatomic.h b/libc/include/bits/stdatomic.h index c74eafd..ebdc9e5 100644 --- a/libc/include/bits/stdatomic.h +++ b/libc/include/bits/stdatomic.h
@@ -134,6 +134,8 @@ memory_order_seq_cst = __ATOMIC_SEQ_CST } memory_order; +#define kill_dependency(y) (y) + /* * 7.17.4 Fences. */