Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d90de5

Browse files
committed
Changes so that it actually checks for <readline/history.h>, instead
of assuming it does exist
1 parent5410203 commit9d90de5

File tree

4 files changed

+122
-78
lines changed

4 files changed

+122
-78
lines changed

‎src/bin/psql/psql.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.81 1997/08/03 02:37:58 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.82 1997/08/17 00:48:45 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -37,12 +37,12 @@
3737
#ifdefHAVE_LIBREADLINE
3838
# ifdefHAVE_READLINE_H
3939
# include<readline.h>
40-
# if defined(HAVE_HISTORY)|| defined(HAVE_LIBHISTORY)
40+
# if defined(HAVE_HISTORY)
4141
# include<history.h>
4242
# endif
4343
# else
4444
# include<readline/readline.h>
45-
# if defined(HAVE_HISTORY)|| defined(HAVE_LIBHISTORY)
45+
# if defined(HAVE_READLINE_HISTORY_H)
4646
# include<readline/history.h>
4747
# endif
4848
# endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp