mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make it possible to build with integer datetimes in msvc, and enable by default.
This commit is contained in:
@ -83,6 +83,7 @@ sub GenerateFiles {
|
|||||||
}
|
}
|
||||||
print O "/* defines added by config steps */\n";
|
print O "/* defines added by config steps */\n";
|
||||||
print O "#define USE_ASSERT_CHECKING 1\n" if ($self->{options}->{asserts});
|
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 USE_LDAP 1\n" if ($self->{options}->{ldap});
|
||||||
print O "#define HAVE_LIBZ 1\n" if ($self->{options}->{zlib});
|
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 USE_SSL 1\n" if ($self->{options}->{openssl});
|
||||||
|
@ -4,6 +4,7 @@ use warnings;
|
|||||||
|
|
||||||
our $config = {
|
our $config = {
|
||||||
asserts=>1, # --enable-cassert
|
asserts=>1, # --enable-cassert
|
||||||
|
integer_datetimes=>1, # --enable-integer-datetimes
|
||||||
nls=>undef, # --enable-nls=<path>
|
nls=>undef, # --enable-nls=<path>
|
||||||
tcl=>'c:\tcl', # --with-tls=<path>
|
tcl=>'c:\tcl', # --with-tls=<path>
|
||||||
perl=>'c:\perl', # --with-perl
|
perl=>'c:\perl', # --with-perl
|
||||||
|
Reference in New Issue
Block a user