+2002-12-22 Bruno Haible <bruno@clisp.org>
+
+ * getstr.h (getstr): Define, to avoid clash with libcurses.
+ * linebuffer.h (readline): Define, to avoid clash with libreadline.
+
2002-12-22 Bruno Haible <bruno@clisp.org>
* getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
# endif
# endif
+/* Avoid collision with getstr() from libcurses. */
+#define getstr getdelim2
+
int
getstr PARAMS ((char **lineptr, size_t *n, FILE *stream,
int delim1, int delim2,
/* linebuffer.h -- declarations for reading arbitrarily long lines
- Copyright (C) 1986, 1991, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1991, 1998, 1999, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
# endif
# endif
+/* Avoid collision with readline() from libreadline. */
+#define readline readlinebuffer
+
/* Initialize linebuffer LINEBUFFER for use. */
void initbuffer PARAMS ((struct linebuffer *linebuffer));