summaryrefslogtreecommitdiffstats
path: root/intl/l10nflist.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-06-19 01:42:15 +0000
committerJim Meyering <jim@meyering.net>1996-06-19 01:42:15 +0000
commita7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6 (patch)
treebb10d48627be04ed2769b0a54da741d64ad908f0 /intl/l10nflist.c
parent482f161a5c6b5f4f21493a84de70b1a8fecbb226 (diff)
downloadidutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.tar.gz
idutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.tar.bz2
idutils-a7c1ba5ccfe9d58ea938d5f9f49592eae4da4da6.zip
Update from gettext-0.10.20.
Diffstat (limited to 'intl/l10nflist.c')
-rw-r--r--intl/l10nflist.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/intl/l10nflist.c b/intl/l10nflist.c
index a874ef2..8fa91e4 100644
--- a/intl/l10nflist.c
+++ b/intl/l10nflist.c
@@ -21,8 +21,7 @@ Boston, MA 02111-1307, USA. */
# include <config.h>
#endif
-#if defined _LIBC || \
- defined __ARGZ_COUNT || defined __ARGZ_STRINGIFY || defined __ARGZ_NEXT
+#if defined _LIBC || defined HAVE_ARGZ_H
# include <argz.h>
#endif
#include <ctype.h>
@@ -71,7 +70,7 @@ static char *stpcpy PARAMS ((char *dest, const char *src));
/* Define function which are usually not available. */
-#if !defined _LIBC && !defined __ARGZ_COUNT
+#if !defined _LIBC && !defined HAVE___ARGZ_COUNT
/* Returns the number of strings in ARGZ. */
static size_t __argz_count PARAMS ((const char *argz, size_t len));
@@ -90,9 +89,9 @@ __argz_count (argz, len)
}
return count;
}
-#endif /* !_LIBC && !__ARGZ_COUNT */
+#endif /* !_LIBC && !HAVE___ARGZ_COUNT */
-#if !defined _LIBC && !defined __ARGZ_STRINGIFY
+#if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY
/* Make '\0' separated arg vector ARGZ printable by converting all the '\0's
except the last into the character SEP. */
static void __argz_stringify PARAMS ((char *argz, size_t len, int sep));
@@ -112,9 +111,9 @@ __argz_stringify (argz, len, sep)
*argz++ = sep;
}
}
-#endif /* !_LIBC && !__ARGZ_COUNT */
+#endif /* !_LIBC && !HAVE___ARGZ_COUNT */
-#if !defined _LIBC && !defined __ARGZ_NEXT
+#if !defined _LIBC && !defined HAVE___ARGZ_NEXT
static char *
__argz_next (argz, argz_len, entry)
char *argz;
@@ -134,7 +133,7 @@ __argz_next (argz, argz_len, entry)
else
return 0;
}
-#endif
+#endif /* !_LIBC && !HAVE___ARGZ_NEXT */
/* Return number of bits set in X. */