Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
52be3aae
Commit
52be3aae
authored
Jul 14, 2014
by
Noah Misch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings added in
8d9a0e85
.
parent
d4635b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/tools/msvc/Solution.pm
src/tools/msvc/Solution.pm
+4
-2
No files found.
src/tools/msvc/Solution.pm
View file @
52be3aae
...
...
@@ -162,11 +162,13 @@ sub GenerateFiles
||
confess
"
Could not open pg_config.h.win32
\n
";
open
(
O
,
"
>src
\\
include
\\
pg_config.h
")
||
confess
"
Could not write to pg_config.h
\n
";
my
$extraver
=
$self
->
{
options
}
->
{
extraver
};
$extraver
=
''
unless
defined
$extraver
;
while
(
<
I
>
)
{
s{PG_VERSION "[^"]+"}{PG_VERSION "$self->{strver}
$
self
->
{
options
}
->
{
extraver
}
"
};
s{PG_VERSION "[^"]+"}{PG_VERSION "$self->{strver}
$
extraver
"
};
s{PG_VERSION_NUM
\
d+}{PG_VERSION_NUM
$self
->{numver}};
s{PG_VERSION_STR
"[
^
"
]+
"}{
__STRINGIFY
(
x
)
#x\n#define __STRINGIFY2(z) __STRINGIFY(z)\n#define PG_VERSION_STR "PostgreSQL $self->{strver}$
self->{options}->{extraver}
, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER) ", $bits-bit"};
s{PG_VERSION_STR
"[
^
"
]+
"}{
__STRINGIFY
(
x
)
#x\n#define __STRINGIFY2(z) __STRINGIFY(z)\n#define PG_VERSION_STR "PostgreSQL $self->{strver}$
extraver
, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER) ", $bits-bit"};
print
O
;
}
print
O
"
#define PG_MAJORVERSION
\"
$self
->{majorver}
\"\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment