projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a479f
)
Don't enforce 32-bit time_t for FRONTEND apps. Fixes standalone
author
Magnus Hagander
<magnus@hagander.net>
Wed, 9 Jan 2008 09:16:43 +0000
(09:16 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 9 Jan 2008 09:16:43 +0000
(09:16 +0000)
builds of libpq in both 32 and 64-bit. Per gripe from Hiroshi Saito.
src/include/port/win32.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/win32.h
b/src/include/port/win32.h
index 540ffc646631a71943d8b3bdc8b58f6739166ff9..bd9f4619d8c4b3a94b8fd0a38426b5ba0f657bb4 100644
(file)
--- 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
*/
-#if
def 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