From: Andrew Dunstan Date: Wed, 27 Apr 2011 18:55:18 +0000 (-0400) Subject: Revert "Force use of "%I64d" format for 64 bit ints on MinGW." X-Git-Tag: bdr/0.1~3098 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=6693fec0e8dec81a9b149494cbdb90e454b6119e;p=users%2Fandresfreund%2Fpostgres.git Revert "Force use of "%I64d" format for 64 bit ints on MinGW." This reverts commit 52d01c2f52c462d29ae0fdfa44c3cae129148a6d. the UINT64_FORMAT bit broke the b uildfarm, so I'm reverting the whole thing pending further investigation. --- diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 8863bb300c..34f4004129 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -88,19 +88,6 @@ #define PGDLLEXPORT #endif -/* - * MinGW compilers accept both "%I64d" and "%lld" for 64 bit ints, - * but whine about the latter, so force the former, regardless of what - * configure found. - */ -#if __GNUC__ -#ifdef INT64_FORMAT -#undef INT64_FORMAT -#undef UINT64_FORMAT -#endif -#define INT64_FORMAT "%I64d" -#define UINT64_FORMAT "%I64u" -#endif /* * IPC defines