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#ifdef NOT_YET /* causes problem on MacOSX */
11/* to get wcwidth() defined */
12#define _XOPEN_SOURCE 600
13#define _XOPEN_SOURCE_EXTENDED
14#define _XOPEN_
15#endif
16
17/*
18 Ultrix botches type-ahead when switching from canonical to
19 non-canonical mode, at least through version 4.3
20*/
21#if !defined (HAVE_TERMIOS_H) || !defined (HAVE_TCGETATTR) || defined (ultrix)
22# define TERMIOS_MISSING
23#endif
24
25#if defined (STRCOLL_BROKEN)
26# undef HAVE_STRCOLL
27#endif
28
29#if defined (__STDC__) && defined (HAVE_STDARG_H)
30# define PREFER_STDARG
31# define USE_VARARGS
32#else
33# if defined (HAVE_VARARGS_H)
34# define PREFER_VARARGS
35# define USE_VARARGS
36# endif
37#endif
38