diff options
Diffstat (limited to 'lib/sys_random.in.h')
-rw-r--r-- | lib/sys_random.in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h index e730e6139f8..c91bcd2cd04 100644 --- a/lib/sys_random.in.h +++ b/lib/sys_random.in.h @@ -84,7 +84,9 @@ _GL_FUNCDECL_SYS (getrandom, ssize_t, _GL_CXXALIAS_SYS (getrandom, ssize_t, (void *buffer, size_t length, unsigned int flags)); # endif +# if __GLIBC__ + (__GLIBC_MINOR__ >= 25) > 2 _GL_CXXALIASWARN (getrandom); +# endif #elif defined GNULIB_POSIXCHECK # undef getrandom # if HAVE_RAW_DECL_GETRANDOM |