summaryrefslogtreecommitdiff
path: root/include/libc/assert.h
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2025-01-02 00:35:22 -0800
committerGitHub <noreply@github.com>2025-01-02 03:35:22 -0500
commit9dafc2f2e4cecff745be05b7003f4e5b2e9f2ba9 (patch)
tree0588c180657b7e8a13c98cdbeddc90e5275a72e8 /include/libc/assert.h
parentffc9f2d4f1fe72a9ac2d803177d612600b5ef22e (diff)
[iQue] Build some C files with EGCS (#2396)
Diffstat (limited to 'include/libc/assert.h')
-rw-r--r--include/libc/assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc/assert.h b/include/libc/assert.h
index dae8aeb65..de54b8a79 100644
--- a/include/libc/assert.h
+++ b/include/libc/assert.h
@@ -29,7 +29,7 @@ __attribute__((noreturn)) void __assert(const char* assertion, const char* file,
// Static/compile-time assertions
-#if !defined(__sgi) && (defined(__GNUC__) || (__STDC_VERSION__ >= 201112L))
+#if !defined(__sgi) && (__GNUC__ >= 5 || __STDC_VERSION__ >= 201112L)
# define static_assert(cond, msg) _Static_assert(cond, msg)
#else
# ifndef GLUE