]> granicus.if.org Git - postgresql/commitdiff
Make integer_datetimes the default for MSVC even if not mentioned in config.pl.
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 15 Apr 2008 12:16:51 +0000 (12:16 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 15 Apr 2008 12:16:51 +0000 (12:16 +0000)
src/tools/msvc/Solution.pm
src/tools/msvc/config.pl

index e07a91c8a5199d359a146fdb8458e5ed8f87391b..c0ccb96cc516eef5fe82fd29cf33b5548d27824f 100644 (file)
@@ -3,7 +3,7 @@ package Solution;
 #
 # Package that encapsulates a Visual C++ solution file generation
 #
-# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.37 2008/03/21 02:50:02 adunstan Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Solution.pm,v 1.38 2008/04/15 12:16:51 adunstan Exp $
 #
 use Carp;
 use strict;
@@ -22,6 +22,9 @@ sub new
         strver   => '',
     };
     bless $self;
+       # integer_datetimes is now the default
+       $options->{integer_datetimes} = 1 
+               unless exists $options->{integer_datetimes};
     if ($options->{xml})
     {
         if (!($options->{xslt} && $options->{iconv}))
index 07403cad567fda667871c29c7e598729b2b728d8..64869563da6e61195385335a2196aecc41aaf2d9 100644 (file)
@@ -4,7 +4,7 @@ use warnings;
 
 our $config = {
     asserts=>0,                        # --enable-cassert
-    integer_datetimes=>1,   # --enable-integer-datetimes
+    # integer_datetimes=>1,   # --enable-integer-datetimes - on is now default
     nls=>undef,                                # --enable-nls=<path>
     tcl=>'c:\tcl',             # --with-tls=<path>
     perl=>'c:\perl',                   # --with-perl