diff options
author | Bruno Haible <bruno@clisp.org> | 2006-05-30 19:14:05 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-05-30 19:14:05 +0000 |
commit | b90eddc3542d88ab8a2501a8c850c16f74130326 (patch) | |
tree | 6e4a8d1d80862053eac67fcae7dc7b10e03f3a09 /lib/strndup.c | |
parent | d92e82d7d411abccc56e02e19b5ea98b79c8e256 (diff) | |
download | gnulib-b90eddc3542d88ab8a2501a8c850c16f74130326.tar.gz |
Work around broken AIX 5.1 strndup function.
Diffstat (limited to 'lib/strndup.c')
-rw-r--r-- | lib/strndup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/strndup.c b/lib/strndup.c index 932a83e4c7..2626373f26 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -36,7 +36,9 @@ #endif #undef __strndup -#undef strndup +#if _LIBC +# undef strndup +#endif #ifndef weak_alias # define __strndup strndup |