Make it possible to build with integer datetimes in msvc, and enable by default.

REL8_3_STABLE
Magnus Hagander 19 years ago
parent 01191c7177
commit d19da98a7f
  1. 1
      src/tools/msvc/Solution.pm
  2. 1
      src/tools/msvc/config.pl

@ -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…
Cancel
Save