From d19da98a7fd082f3369c4c8aa20a4b861400eed5 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Wed, 14 Feb 2007 21:02:07 +0000 Subject: [PATCH] Make it possible to build with integer datetimes in msvc, and enable by default. --- src/tools/msvc/Solution.pm | 1 + src/tools/msvc/config.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 79a3d82790..9fbb4b9b43 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -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}); diff --git a/src/tools/msvc/config.pl b/src/tools/msvc/config.pl index 56de6139c1..bdf101f72d 100644 --- a/src/tools/msvc/config.pl +++ b/src/tools/msvc/config.pl @@ -4,6 +4,7 @@ use warnings; our $config = { asserts=>1, # --enable-cassert + integer_datetimes=>1, # --enable-integer-datetimes nls=>undef, # --enable-nls= tcl=>'c:\tcl', # --with-tls= perl=>'c:\perl', # --with-perl -- GitLab