diff options
author | Magnus Hagander <magnus@hagander.net> | 2007-02-14 21:02:07 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2007-02-14 21:02:07 +0000 |
commit | d19da98a7fd082f3369c4c8aa20a4b861400eed5 (patch) | |
tree | d665ecdcbab1d0f9862acc77a914ad67c31c6810 /src | |
parent | 01191c7177dac743d621a7ab21897114e8247ad8 (diff) | |
download | postgresql-d19da98a7fd082f3369c4c8aa20a4b861400eed5.tar.gz postgresql-d19da98a7fd082f3369c4c8aa20a4b861400eed5.zip |
Make it possible to build with integer datetimes in msvc, and enable by default.
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/msvc/Solution.pm | 1 | ||||
-rw-r--r-- | src/tools/msvc/config.pl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 79a3d82790b..9fbb4b9b431 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 56de6139c16..bdf101f72d1 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=<path> tcl=>'c:\tcl', # --with-tls=<path> perl=>'c:\perl', # --with-perl |