* iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
* locale/programs/charmap.c: Define null_pointer if
NEED_NULL_POINTER is defined.
2001-04-03 Ulrich Drepper <drepper@redhat.com>
+ * iconv/Makefile (CFLAGS-charmap.c): Add -DNEED_NULL_POINTER.
+ * locale/programs/charmap.c: Define null_pointer if
+ NEED_NULL_POINTER is defined.
+
* misc/dirname.c (dirname): Handle multiple slashes correctly.
2001-04-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
CFLAGS-iconv_charmap.c = -I../locale/programs
CFLAGS-dummy-repertoire.c = -I../locale/programs
CFLAGS-charmap.c = -DCHARMAP_PATH='"$(i18ndir)/charmaps"' \
- -DDEFAULT_CHARMAP=null_pointer
+ -DDEFAULT_CHARMAP=null_pointer -DNEED_NULL_POINTER
tests = tst-iconv1 tst-iconv2 tst-iconv3
const char *to, int decimal_ellipsis, int step);
+#ifdef NEED_NULL_POINTER
static const char *null_pointer;
+#endif
static struct linereader *
cmlr_open (const char *directory, const char *name, kw_hash_fct_t hf)