* lib/sys_random.in.h (getrandom): Enable the C++ alias warning only on
glibc ≥ 2.25 systems.
+2022-09-02 Bruno Haible <bruno@clisp.org>
+
+ getrandom: Fix compilation error in C++ mode on FreeBSD 12.
+ * lib/sys_random.in.h (getrandom): Enable the C++ alias warning only on
+ glibc ≥ 2.25 systems.
+
2022-09-02 Bruno Haible <bruno@clisp.org>
math C++ tests: Fix compilation error with clang on FreeBSD 13.
_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