+2002-05-18 Bruno Haible <bruno@clisp.org>
+
+ * basename.h: Use __GLIBC__ >= 2, because BeOS (which defines __GLIBC__
+ to -2) doesn't declare basename() properly.
+ * basename.c: Likewise.
+
2002-05-18 Bruno Haible <bruno@clisp.org>
* Makefile.am (RM): New variable.
/* This is where basename() is declared. */
#include <string.h>
-#ifndef __GLIBC__
+#if !(__GLIBC__ >= 2)
/* When not using the GNU libc we use the basename implementation we
provide here. */
extern char *gnu_basename PARAMS ((const char *));