*** src/include/port/win32.h.orig Wed Dec 19 11:15:33 2007 --- src/include/port/win32.h Wed Dec 19 11:16:01 2007 *************** *** 51,58 **** --- 51,60 ---- * to 64 bits. We set that for our own build in the project files */ #ifdef WIN32_ONLY_COMPILER + #ifndef _WIN64 #ifndef _USE_32BIT_TIME_T #error "Postgres uses 32 bit time_t - add #define _USE_32BIT_TIME_T on Windows" + #endif #endif #endif *** src/interfaces/libpq/win32.mak.orig Wed Oct 3 04:01:45 2007 --- src/interfaces/libpq/win32.mak Wed Dec 19 11:13:59 2007 *************** *** 13,18 **** --- 13,19 ---- !IF ("$(CPU)" == "")||("$(CPU)" == "i386") CPU=i386 + ADD_DEFINES=/D "_USE_32BIT_TIME_T" !MESSAGE Building the Win32 static library... !MESSAGE !ELSEIF ("$(CPU)" == "IA64")||("$(CPU)" == "AMD64")