mirror of
https://github.com/postgres/postgres.git
synced 2026-04-14 13:37:39 -04:00
Make it possible to build with integer datetimes in msvc, and enable by default.
This commit is contained in:
parent
01191c7177
commit
d19da98a7f
2 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ sub GenerateFiles {
|
|||
}
|
||||
print O "/* defines added by config steps */\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});
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ use warnings;
|
|||
|
||||
our $config = {
|
||||
asserts=>1, # --enable-cassert
|
||||
integer_datetimes=>1, # --enable-integer-datetimes
|
||||
nls=>undef, # --enable-nls=<path>
|
||||
tcl=>'c:\tcl', # --with-tls=<path>
|
||||
perl=>'c:\perl', # --with-perl
|
||||
|
|
|
|||
Loading…
Reference in a new issue