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
fb8155d0
Commit
fb8155d0
authored
18 years ago
by
Magnus Hagander
Browse files
Options
Downloads
Patches
Plain Diff
Add define to exclude configured libraries, to be able to easily build a
stripped down version of libpq. To be used by the installer.
parent
1ca6ab1c
No related branches found
Branches containing commit
No related tags found
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
+4
-2
4 additions, 2 deletions
src/tools/msvc/Solution.pm
with
4 additions
and
2 deletions
src/tools/msvc/Solution.pm
+
4
−
2
View file @
fb8155d0
...
...
@@ -2,7 +2,7 @@ package Solution;
#
# Package that encapsulates a Visual C++ solution file generation
#
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.1
7
2007/03/
17 14:01:0
1 mha Exp $
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.1
8
2007/03/
23 08:43:5
1 mha Exp $
#
use
Carp
;
use
strict
;
...
...
@@ -102,14 +102,15 @@ 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)};
print
O
;
}
print
O
"
#define LOCALEDIR
\"
/share/locale
\"\n
"
if
(
$self
->
{
options
}
->
{
nls
});
print
O
"
/* defines added by config steps */
\n
";
print
O
"
#ifndef IGNORE_CONFIGURED_SETTINGS
\n
";
print
O
"
#define USE_ASSERT_CHECKING 1
\n
"
if
(
$self
->
{
options
}
->
{
asserts
});
print
O
"
#define USE_INTEGER_DATETIMES 1
\n
"
if
(
$self
->
{
options
}
->
{
integer_datetimes
});
print
O
"
#define USE_LDAP 1
\n
"
if
(
$self
->
{
options
}
->
{
ldap
});
print
O
"
#define HAVE_LIBZ 1
\n
"
if
(
$self
->
{
options
}
->
{
zlib
});
print
O
"
#define USE_SSL 1
\n
"
if
(
$self
->
{
options
}
->
{
openssl
});
print
O
"
#define ENABLE_NLS 1
\n
"
if
(
$self
->
{
options
}
->
{
nls
});
print
O
"
#define LOCALEDIR
\"
/share/locale
\"\n
"
if
(
$self
->
{
options
}
->
{
nls
});
if
(
$self
->
{
options
}
->
{
xml
})
{
...
...
@@ -123,6 +124,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
print
O
"
#define HAVE_KRB5_TICKET_ENC_PART2 1
\n
";
print
O
"
#define PG_KRB_SRVNAM
\"
postgres
\"\n
";
}
print
O
"
#endif /* IGNORE_CONFIGURED_SETTINGS */
\n
";
close
(
O
);
close
(
I
);
}
...
...
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