From 15c05f1edf079bc03b277e44426a8af8616bb10b Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Sun, 21 Feb 2021 05:48:48 +0100 Subject: *: require ISO C11 (or C++11) It's 2021... time to drop some 10yo compat stuff. Signed-off-by: David Lamparter --- lib/strlcat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/strlcat.c') diff --git a/lib/strlcat.c b/lib/strlcat.c index 39773d9ac8..a046822a94 100644 --- a/lib/strlcat.c +++ b/lib/strlcat.c @@ -64,10 +64,8 @@ size_t strlcat(char *__restrict dest, (which the static_assert checks), then by the pigeonhole principle, the two input strings must overlap, which is undefined. */ -#if __STDC_VERSION__ >= 201112L _Static_assert(sizeof(uintptr_t) == sizeof(size_t), "theoretical maximum object size covers address space"); -#endif return dest_length + src_length; } #endif /* HAVE_STRLCAT */ -- cgit v1.2.3