1
0
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:
Magnus Hagander
2007-02-14 21:02:07 +00:00
parent 01191c7177
commit d19da98a7f
2 changed files with 2 additions and 0 deletions

View File

@ -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});

View File

@ -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