diff options
author | Jim Meyering <jim@meyering.net> | 2006-06-10 09:10:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-06-10 09:10:12 +0000 |
commit | 949ed19da0421274da727b1c1eb4d66e69520f0c (patch) | |
tree | 2eac110f87b130bc0e49b4646094de3adad7e1ed /lib/strndup.c | |
parent | a8ee9bcfb33a47600b2a5edb9a277fde1739ce7e (diff) | |
download | coreutils-949ed19da0421274da727b1c1eb4d66e69520f0c.tar.xz |
Apply this change from gnulib:
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Bruno Haible <bruno@clisp.org>
* strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
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 932a83e4c..2626373f2 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 |