diff options
Diffstat (limited to 'src/bin/psql/input.h')
-rw-r--r-- | src/bin/psql/input.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/bin/psql/input.h b/src/bin/psql/input.h index c141d1658cd..557179113b9 100644 --- a/src/bin/psql/input.h +++ b/src/bin/psql/input.h @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/input.h,v 1.9 2000/03/08 01:58:22 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/input.h,v 1.10 2000/04/12 17:16:22 momjian Exp $ */ #ifndef INPUT_H #define INPUT_H @@ -15,30 +15,30 @@ * USE_READLINE and USE_HISTORY are the definite pointers regarding existence or not. */ #ifdef HAVE_LIBREADLINE -# if defined(HAVE_READLINE_READLINE_H) -# include <readline/readline.h> -# define USE_READLINE 1 -# elif defined(HAVE_READLINE_H) -# include <readline.h> -# define USE_READLINE 1 -# endif +#if defined(HAVE_READLINE_READLINE_H) +#include <readline/readline.h> +#define USE_READLINE 1 +#elif defined(HAVE_READLINE_H) +#include <readline.h> +#define USE_READLINE 1 +#endif #endif #if defined(HAVE_LIBHISTORY) || (defined(HAVE_LIBREADLINE) && defined(HAVE_HISTORY_IN_READLINE)) -# if defined(HAVE_READLINE_HISTORY_H) -# include <readline/history.h> -# define USE_HISTORY 1 -# elif defined(HAVE_HISTORY_H) -# include <history.h> -# define USE_HISTORY 1 -# endif +#if defined(HAVE_READLINE_HISTORY_H) +#include <readline/history.h> +#define USE_HISTORY 1 +#elif defined(HAVE_HISTORY_H) +#include <history.h> +#define USE_HISTORY 1 +#endif #endif -char * gets_interactive(char *prompt); -char * gets_fromFile(FILE *source); +char *gets_interactive(char *prompt); +char *gets_fromFile(FILE *source); -void initializeInput(int flags); -bool saveHistory(char *fname); -void finishInput(void); +void initializeInput(int flags); +bool saveHistory(char *fname); +void finishInput(void); -#endif /* INPUT_H */ +#endif /* INPUT_H */ |