From: Alan T. DeKok Date: Sat, 30 Nov 2024 21:34:07 +0000 (-0500) Subject: C23 defines static_assert X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ad37556da192ee622039f989acf3d41ddfe6600;p=thirdparty%2Ffreeradius-server.git C23 defines static_assert --- diff --git a/src/include/build.h b/src/include/build.h index 52c460c5cdd..e6cc822765a 100644 --- a/src/include/build.h +++ b/src/include/build.h @@ -32,7 +32,9 @@ extern "C" { * */ #ifndef static_assert +# if __STDC_VERSION__ < 202000 # define static_assert _Static_assert +# endif # else # include #endif