diff options
author | Magnus Hagander | 2008-01-09 09:16:43 +0000 |
---|---|---|
committer | Magnus Hagander | 2008-01-09 09:16:43 +0000 |
commit | b8c0e5851b5fada5dc09cc05055399614711fa0e (patch) | |
tree | 35ae3d512b2a8ba2683d095336423f6d42a1c310 | |
parent | b0a479f8b2c05aa3f43424d345dc41927ddc17a3 (diff) |
Don't enforce 32-bit time_t for FRONTEND apps. Fixes standalone
builds of libpq in both 32 and 64-bit. Per gripe from Hiroshi Saito.
-rw-r--r-- | src/include/port/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 540ffc6466..bd9f4619d8 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -50,7 +50,7 @@ * On Mingw/Msys, that should always be the case, but MSVC++ defaults * to 64 bits. We set that for our own build in the project files */ -#ifdef WIN32_ONLY_COMPILER +#if defined(WIN32_ONLY_COMPILER) && !defined(FRONTEND) #ifndef _USE_32BIT_TIME_T #error "Postgres uses 32 bit time_t - add #define _USE_32BIT_TIME_T on Windows" #endif |