diff options
Diffstat (limited to 'gl/stdlib.in.h')
-rw-r--r-- | gl/stdlib.in.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/stdlib.in.h b/gl/stdlib.in.h index a86643c3..8e0a609f 100644 --- a/gl/stdlib.in.h +++ b/gl/stdlib.in.h | |||
@@ -226,7 +226,7 @@ _GL_FUNCDECL_SYS (aligned_alloc, void *, | |||
226 | _GL_CXXALIAS_SYS (aligned_alloc, void *, (size_t alignment, size_t size)); | 226 | _GL_CXXALIAS_SYS (aligned_alloc, void *, (size_t alignment, size_t size)); |
227 | # endif | 227 | # endif |
228 | # endif | 228 | # endif |
229 | # if @HAVE_ALIGNED_ALLOC@ | 229 | # if (__GLIBC__ >= 2) && @HAVE_ALIGNED_ALLOC@ |
230 | _GL_CXXALIASWARN (aligned_alloc); | 230 | _GL_CXXALIASWARN (aligned_alloc); |
231 | # endif | 231 | # endif |
232 | #else | 232 | #else |
@@ -1363,7 +1363,9 @@ _GL_CXXALIAS_SYS (strtol, long, | |||
1363 | (const char *restrict string, char **restrict endptr, | 1363 | (const char *restrict string, char **restrict endptr, |
1364 | int base)); | 1364 | int base)); |
1365 | # endif | 1365 | # endif |
1366 | # if __GLIBC__ >= 2 | ||
1366 | _GL_CXXALIASWARN (strtol); | 1367 | _GL_CXXALIASWARN (strtol); |
1368 | # endif | ||
1367 | #elif defined GNULIB_POSIXCHECK | 1369 | #elif defined GNULIB_POSIXCHECK |
1368 | # undef strtol | 1370 | # undef strtol |
1369 | # if HAVE_RAW_DECL_STRTOL | 1371 | # if HAVE_RAW_DECL_STRTOL |
@@ -1444,7 +1446,9 @@ _GL_CXXALIAS_SYS (strtoul, unsigned long, | |||
1444 | (const char *restrict string, char **restrict endptr, | 1446 | (const char *restrict string, char **restrict endptr, |
1445 | int base)); | 1447 | int base)); |
1446 | # endif | 1448 | # endif |
1449 | # if __GLIBC__ >= 2 | ||
1447 | _GL_CXXALIASWARN (strtoul); | 1450 | _GL_CXXALIASWARN (strtoul); |
1451 | # endif | ||
1448 | #elif defined GNULIB_POSIXCHECK | 1452 | #elif defined GNULIB_POSIXCHECK |
1449 | # undef strtoul | 1453 | # undef strtoul |
1450 | # if HAVE_RAW_DECL_STRTOUL | 1454 | # if HAVE_RAW_DECL_STRTOUL |