Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
04ecc643
Commit
04ecc643
authored
16 years ago
by
Andrew Dunstan
Browse files
Options
Downloads
Patches
Plain Diff
Attempt to fix MSVC breakage from Major Version patch.
parent
7ac57276
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tools/msvc/Solution.pm
+2
-1
2 additions, 1 deletion
src/tools/msvc/Solution.pm
with
2 additions
and
1 deletion
src/tools/msvc/Solution.pm
+
2
−
1
View file @
04ecc643
...
@@ -3,7 +3,7 @@ package Solution;
...
@@ -3,7 +3,7 @@ package Solution;
#
#
# Package that encapsulates a Visual C++ solution file generation
# Package that encapsulates a Visual C++ solution file generation
#
#
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.4
5
2008/1
1
/1
4
1
7:11:40 meskes
Exp $
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.4
6
2008/1
2
/1
6
1
5:42:21 adunstan
Exp $
#
#
use
Carp
;
use
Carp
;
use
strict
;
use
strict
;
...
@@ -125,6 +125,7 @@ sub GenerateFiles
...
@@ -125,6 +125,7 @@ sub GenerateFiles
s{PG_VERSION_STR
"[
^
"
]+
"}{
__STRINGIFY
(
x
)
#x\n#define __STRINGIFY2(z) __STRINGIFY(z)\n#define PG_VERSION_STR "PostgreSQL $self->{strver}, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER)};
s{PG_VERSION_STR
"[
^
"
]+
"}{
__STRINGIFY
(
x
)
#x\n#define __STRINGIFY2(z) __STRINGIFY(z)\n#define PG_VERSION_STR "PostgreSQL $self->{strver}, compiled by Visual C++ build " __STRINGIFY2(_MSC_VER)};
print
O
;
print
O
;
}
}
print
O
"
#define PG_MAJORVERSION
\"
$self
->{majorver}
\"\n
";
print
O
"
#define LOCALEDIR
\"
/share/locale
\"\n
"
if
(
$self
->
{
options
}
->
{
nls
});
print
O
"
#define LOCALEDIR
\"
/share/locale
\"\n
"
if
(
$self
->
{
options
}
->
{
nls
});
print
O
"
/* defines added by config steps */
\n
";
print
O
"
/* defines added by config steps */
\n
";
print
O
"
#ifndef IGNORE_CONFIGURED_SETTINGS
\n
";
print
O
"
#ifndef IGNORE_CONFIGURED_SETTINGS
\n
";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment