* lib/stdlib.in.h (random, srandom): Disable _GL_CXXALIASWARN invocation
on non-glibc systems.
+2023-04-19 Bruno Haible <bruno@clisp.org>
+
+ random: Fix compilation errors in C++ mode on mingw 10.
+ * lib/stdlib.in.h (random, srandom): Disable _GL_CXXALIASWARN invocation
+ on non-glibc systems.
+
2023-04-18 Bruno Haible <bruno@clisp.org>
ilogbl: Work around a Cygwin 3.4.6 bug.
int. */
_GL_CXXALIAS_SYS_CAST (random, long, (void));
# endif
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (random);
+# endif
#elif defined GNULIB_POSIXCHECK
# undef random
# if HAVE_RAW_DECL_RANDOM
unsigned long seed. */
_GL_CXXALIAS_SYS_CAST (srandom, void, (unsigned int seed));
# endif
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (srandom);
+# endif
#elif defined GNULIB_POSIXCHECK
# undef srandom
# if HAVE_RAW_DECL_SRANDOM