File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package Solution;
3
3
#
4
4
# Package that encapsulates a Visual C++ solution file generation
5
5
#
6
- # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.23 2007/04/26 10:36:47 mha Exp $
6
+ # $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.24 2007/05/15 00:15:01 adunstan Exp $
7
7
#
8
8
use Carp;
9
9
use strict;
@@ -125,6 +125,11 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
125
125
print O " #define HAVE_KRB5_TICKET_ENC_PART2 1\n " ;
126
126
print O " #define PG_KRB_SRVNAM \" postgres\"\n " ;
127
127
}
128
+ if (my $port = $self -> {options }-> {--with-pgport})
129
+ {
130
+ print O " #define DEF_PGPORT $port \n " ;
131
+ print O " #define DEF_PGPORT_STR \" $port \"\n " ;
132
+ }
128
133
print O " #define VAL_CONFIGURE \" " . $self -> GetFakeConfigure() . " \"\n " ;
129
134
print O " #endif /* IGNORE_CONFIGURED_SETTINGS */\n " ;
130
135
close (O);
You can’t perform that action at this time.
0 commit comments