X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=readline%2Frldefs.h;h=0f6c87446ddd141f31cace5471dbdb063e8315bd;hb=b585a9fad59f9d0c07681778b97d36b67bd9748d;hp=4a28bd1e49c2d14571a8b599ed17c70be7e649bb;hpb=84041b4c47edb0461f3b82afb77ca2d81819ebfa;p=deliverable%2Fbinutils-gdb.git diff --git a/readline/rldefs.h b/readline/rldefs.h index 4a28bd1e49..0f6c87446d 100644 --- a/readline/rldefs.h +++ b/readline/rldefs.h @@ -2,7 +2,7 @@ for readline. This should be included after any files that define system-specific constants like _POSIX_VERSION or USG. */ -/* Copyright (C) 1987,1989 Free Software Foundation, Inc. +/* Copyright (C) 1987-2005 Free Software Foundation, Inc. This file contains the Readline Library (the Library), a set of routines for providing Emacs style line input to programs that ask @@ -38,7 +38,11 @@ # if defined (HAVE_TERMIO_H) # define TERMIO_TTY_DRIVER # else -# define NEW_TTY_DRIVER +# if !defined (__MINGW32__) +# define NEW_TTY_DRIVER +# else +# define NO_TTY_DRIVER +# endif # endif #endif @@ -77,7 +81,7 @@ extern int _rl_stricmp PARAMS((char *, char *)); extern int _rl_strnicmp PARAMS((char *, char *, int)); #endif -#if defined (HAVE_STRPBRK) +#if defined (HAVE_STRPBRK) && !defined (HAVE_MULTIBYTE) # define _rl_strpbrk(a,b) strpbrk((a),(b)) #else extern char *_rl_strpbrk PARAMS((const char *, const char *));