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

Commitd049cec

Browse files
committed
Modifications to handle the situation where readline.h exists, but
history.h doesn't...previously, it was assumed that both existed, ordidn't exist...but this assumption fails on the one sparc_solaris boxthat I have access to, and could exist in other circumstances
1 parent49f30e8 commitd049cec

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎src/bin/psql/psql.c

Lines changed: 7 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.50 1997/01/2503:51:59 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.51 1997/01/2521:58:08 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -35,10 +35,14 @@
3535
#else
3636
# ifdefHAVE_READLINE_H
3737
# include<readline.h>
38-
# include<history.h>
38+
# ifdefHAVE_HISTORY_H
39+
# include<history.h>
40+
# endif
3941
# else
4042
# include<readline/readline.h>
41-
# include<readline/history.h>
43+
# ifdefHAVE_READLINE_HISTORY_H
44+
# include<readline/history.h>
45+
# endif
4246
# endif
4347
#endif
4448

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp