]> granicus.if.org Git - postgresql/commitdiff
Make it possible to build with integer datetimes in msvc, and enable by default.
authorMagnus Hagander <magnus@hagander.net>
Wed, 14 Feb 2007 21:02:07 +0000 (21:02 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 14 Feb 2007 21:02:07 +0000 (21:02 +0000)
src/tools/msvc/Solution.pm
src/tools/msvc/config.pl

index 79a3d82790b7afb5ece9d4b7c6e1b2aa5a5d8aa1..9fbb4b9b431f30641751d787d417d806efaca008 100644 (file)
@@ -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});
index 56de6139c16cd57f4b0638b276e0a19c8d47428f..bdf101f72d1623a92524f8eabf0718931d650e4d 100644 (file)
@@ -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