blob: 2413c92ac8795f172eebb016edfb1d2ea2279b2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git 1/src/chiaki/test/munit/munit.a.c 2/src/chiaki/test/munit/munit.c
index f6b5194..d8e915e 100644
--- 1/test/munit/munit.a.c
+++ 2/test/munit/munit.c
@@ -777,7 +777,7 @@ munit_clock_get_elapsed(struct PsnipClockTimespec* start, struct PsnipClockTimes
* important that it be reproducible, so bug reports have a better
* chance of being reproducible. */
-#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__) && !defined(__EMSCRIPTEN__) && (!defined(__GNUC_MINOR__) || (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ > 8))
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && (__STDC_VERSION__ < 202311L) && !defined(__STDC_NO_ATOMICS__) && !defined(__EMSCRIPTEN__) && (!defined(__GNUC_MINOR__) || (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ > 8))
# define HAVE_STDATOMIC
#elif defined(__clang__)
# if __has_extension(c_atomic)
|