]> granicus.if.org Git - postgresql/commit
Factor out the code that detects the long long int snprintf format into a
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Jan 2003 21:57:12 +0000 (21:57 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Jan 2003 21:57:12 +0000 (21:57 +0000)
commit955a1f81a702489102b2526e24631b9f51e14247
tree0539ade1756c036ad8a64471cc01c27a9879b0a4
parentc0276244b1856537aa2a7c8abd0992c3492516fd
Factor out the code that detects the long long int snprintf format into a
separate macro.  Also add support for %I64d which is the way on Windows.

The code that checks for the 64-bit int type now gives more reasonable
results when cross-compiling: In that case we just take the compiler's
information and trust that the arithmetic works.  Disabling int64 is too
pessimistic.
config/c-compiler.m4
config/c-library.m4
configure
configure.in