1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-11 10:01:57 +03:00

Why can't everyone be standard? :(

Add some code to make psql happy with a system where there is *no*
history code available, but there is readline code...
This commit is contained in:
Marc G. Fournier
1997-01-25 22:16:43 +00:00
parent d049cec4f5
commit 374b2b0639
2 changed files with 13 additions and 3 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.51 1997/01/25 21:58:08 scrappy Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.52 1997/01/25 22:16:36 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -35,12 +35,12 @@
#else
# ifdef HAVE_READLINE_H
# include <readline.h>
# ifdef HAVE_HISTORY_H
# ifndef NO_HISTORY
# include <history.h>
# endif
# else
# include <readline/readline.h>
# ifdef HAVE_READLINE_HISTORY_H
# ifndef NO_HISTORY
# include <readline/history.h>
# endif
# endif