Skip to content

Commit fcf053d

Browse files
committed
Make integer_datetimes the default for MSVC even if not mentioned in config.pl.
1 parent 9b5c8d4 commit fcf053d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/tools/msvc/Solution.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Solution;
33
#
44
# Package that encapsulates a Visual C++ solution file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.37 2008/03/21 02:50:02 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.38 2008/04/15 12:16:51 adunstan Exp $
77
#
88
use Carp;
99
use strict;
@@ -22,6 +22,9 @@ sub new
2222
strver => '',
2323
};
2424
bless $self;
25+
# integer_datetimes is now the default
26+
$options->{integer_datetimes} = 1
27+
unless exists $options->{integer_datetimes};
2528
if ($options->{xml})
2629
{
2730
if (!($options->{xslt} && $options->{iconv}))

src/tools/msvc/config.pl

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

55
our $config = {
66
asserts=>0, # --enable-cassert
7-
integer_datetimes=>1, # --enable-integer-datetimes
7+
# integer_datetimes=>1, # --enable-integer-datetimes - on is now default
88
nls=>undef, # --enable-nls=<path>
99
tcl=>'c:\tcl', # --with-tls=<path>
1010
perl=>'c:\perl', # --with-perl

0 commit comments

Comments
 (0)