Revert "Force use of "%I64d" format for 64 bit ints on MinGW."
authorAndrew Dunstan <[email protected]>
Wed, 27 Apr 2011 18:55:18 +0000 (14:55 -0400)
committerAndrew Dunstan <[email protected]>
Wed, 27 Apr 2011 18:55:18 +0000 (14:55 -0400)
This reverts commit 52d01c2f52c462d29ae0fdfa44c3cae129148a6d.

the UINT64_FORMAT bit broke the b uildfarm, so I'm reverting the whole thing pending further investigation.

src/include/port/win32.h

index 8863bb300cd5b78abe1fbcc51ee646ce760cfd3f..34f40041298e4378d9d9d9a0ec2f5bceaf2a497c 100644 (file)
 #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