Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d19da98

Browse files
committed
Make it possible to build with integer datetimes in msvc, and enable by default.
1 parent 01191c7 commit d19da98

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ sub GenerateFiles {
8383
}
8484
print O "/* defines added by config steps */\n";
8585
print O "#define USE_ASSERT_CHECKING 1\n" if ($self->{options}->{asserts});
86+
print O "#define USE_INTEGER_DATETIMES 1\n" if ($self->{options}->{integer_datetimes});
8687
print O "#define USE_LDAP 1\n" if ($self->{options}->{ldap});
8788
print O "#define HAVE_LIBZ 1\n" if ($self->{options}->{zlib});
8889
print O "#define USE_SSL 1\n" if ($self->{options}->{openssl});

src/tools/msvc/config.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
our $config = {
66
asserts=>1, # --enable-cassert
7+
integer_datetimes=>1, # --enable-integer-datetimes
78
nls=>undef, # --enable-nls=<path>
89
tcl=>'c:\tcl', # --with-tls=<path>
910
perl=>'c:\perl', # --with-perl

0 commit comments

Comments
 (0)