* lib/stdlib.in.h (strtol, strtoul): Enable the C++ alias warning only
on glibc systems.
+2022-09-02 Bruno Haible <bruno@clisp.org>
+
+ strtol, strtoul: Fix compilation error in C++ mode on Solaris 11.
+ * lib/stdlib.in.h (strtol, strtoul): Enable the C++ alias warning only
+ on glibc systems.
+
2022-09-02 Bruno Haible <bruno@clisp.org>
aligned_alloc: Fix compilation error in C++ mode on Solaris 11.
(const char *restrict string, char **restrict endptr,
int base));
# endif
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (strtol);
+# endif
#elif defined GNULIB_POSIXCHECK
# undef strtol
# if HAVE_RAW_DECL_STRTOL
(const char *restrict string, char **restrict endptr,
int base));
# endif
+# if __GLIBC__ >= 2
_GL_CXXALIASWARN (strtoul);
+# endif
#elif defined GNULIB_POSIXCHECK
# undef strtoul
# if HAVE_RAW_DECL_STRTOUL