summaryrefslogtreecommitdiff
path: root/src/bin/psql/input.h
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-03 19:50:21 +0000
committerPeter Eisentraut2000-10-03 19:50:21 +0000
commit831e78e0c4cc6b83d3096ea483a49c4dc2a3e867 (patch)
tree941e45a0905e4f3ad9d4e92b4f29180f58800fb2 /src/bin/psql/input.h
parent1b7332fbabe6359b9bdb3d0417279223002622ea (diff)
Better coding of readline tests
Diffstat (limited to 'src/bin/psql/input.h')
-rw-r--r--src/bin/psql/input.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/input.h b/src/bin/psql/input.h
index 557179113b9..69387989faa 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.10 2000/04/12 17:16:22 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/input.h,v 1.11 2000/10/03 19:50:20 petere Exp $
*/
#ifndef INPUT_H
#define INPUT_H
@@ -24,7 +24,7 @@
#endif
#endif
-#if defined(HAVE_LIBHISTORY) || (defined(HAVE_LIBREADLINE) && defined(HAVE_HISTORY_IN_READLINE))
+#if defined(HAVE_HISTORY_FUNCTIONS)
#if defined(HAVE_READLINE_HISTORY_H)
#include <readline/history.h>
#define USE_HISTORY 1