~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to cmd-line-utils/readline/config_readline.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
   config-readline.h  Maintained by hand. Contains the readline specific
 
3
   parts from config.h.in in readline 4.3
 
4
*/
 
5
 
 
6
#if defined (HAVE_CONFIG_H)
 
7
#  include <config.h>
 
8
#endif
 
9
 
 
10
/*
 
11
 Ultrix botches type-ahead when switching from canonical to
 
12
   non-canonical mode, at least through version 4.3
 
13
*/
 
14
#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
 
15
#  define TERMIOS_MISSING
 
16
#endif
 
17
 
 
18
#if defined (STRCOLL_BROKEN)
 
19
#  undef HAVE_STRCOLL
 
20
#endif
 
21
 
 
22
#if defined (__STDC__) && defined (HAVE_STDARG_H)
 
23
#  define PREFER_STDARG
 
24
#  define USE_VARARGS
 
25
#else
 
26
#  if defined (HAVE_VARARGS_H)
 
27
#    define PREFER_VARARGS
 
28
#    define USE_VARARGS
 
29
#  endif
 
30
#endif