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

Commitf3525cb

Browse files
committed
Merge branch 'PGPRO9_6_winedit' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPRO9_6_winedit
2 parents3620051 +95e753d commitf3525cb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

‎src/tools/msvc/Solution.pm

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,14 @@ sub GenerateFiles
243243
print O"#define DEF_PGPORT$port\n";
244244
print O"#define DEF_PGPORT_STR\"$port\"\n";
245245
}
246+
if ($self->{options}->{libedit})
247+
{
248+
print O"#define HAVE_EDITLINE_READLINE_H\n";
249+
print O"#define HAVE_LIBREADLINE\n";
250+
print O"#define HAVE_WIN32_LIBEDIT\n";
251+
print O"#define HAVE_RL_FILENAME_COMPLETION_FUNCTION\n";
252+
print O"#define HAVE_RL_COMPLETION_MATCHES\n";
253+
}
246254
if ($self->{options}->{icu})
247255
{
248256
print O"#define USE_ICU\n";
@@ -576,6 +584,12 @@ sub AddProject
576584
$proj->AddIncludeDir($self->{options}->{xslt} .'\include');
577585
$proj->AddLibrary($self->{options}->{xslt} .'\lib\libxslt.lib');
578586
}
587+
if ($self->{options}->{libedit})
588+
{
589+
$proj->AddIncludeDir($self->{options}->{libedit} .'\include');
590+
$proj->AddLibrary($self->{options}->{libedit} ."\\" .
591+
($self->{platform}eq'x64'?'lib64':'lib32').'\edit.lib');
592+
}
579593
if ($self->{options}->{icu})
580594
{
581595
my$libdir =$self->{options}->{icu}.'\lib';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp