diff options
author | Daniel Jacobowitz <dan@debian.org> | 2006-04-24 22:00:27 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2006-04-24 22:00:27 +0000 |
commit | edc469a5506b2f0858aa4366d84f5c04e4eeeebe (patch) | |
tree | cf5d1c0b957710b8b9976bff1e8484b7c4a839b4 /readline/rldefs.h | |
parent | 7be84cf3293f63b314237035e7df76caa8022769 (diff) | |
download | gdb-edc469a5506b2f0858aa4366d84f5c04e4eeeebe.tar.gz |
Import readline 5.1 on the branch.readline_5_1-import-branchcvs/readline_5_1-import-branch
Diffstat (limited to 'readline/rldefs.h')
-rw-r--r-- | readline/rldefs.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/readline/rldefs.h b/readline/rldefs.h index b80db8cffed..0f6c87446dd 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 @@ -32,15 +32,17 @@ #include "rlstdc.h" -#if defined (__MINGW32__) -# define NO_TTY_DRIVER -#elif defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING) +#if defined (_POSIX_VERSION) && !defined (TERMIOS_MISSING) # define TERMIOS_TTY_DRIVER #else # 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 @@ -79,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 *)); |