Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d546c7

Browse files
committed
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.
1 parentbbee1c5 commit8d546c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/port/win32.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.82 2007/12/11 14:34:43 mha Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.83 2008/01/09 09:16:43 mha Exp $ */
22

33
#if defined(_MSC_VER)|| defined(__BORLANDC__)
44
#defineWIN32_ONLY_COMPILER
@@ -50,7 +50,7 @@
5050
* On Mingw/Msys, that should always be the case, but MSVC++ defaults
5151
* to 64 bits. We set that for our own build in the project files
5252
*/
53-
#ifdefWIN32_ONLY_COMPILER
53+
#if defined(WIN32_ONLY_COMPILER)&& !defined(FRONTEND)
5454
#ifndef_USE_32BIT_TIME_T
5555
#error "Postgres uses 32 bit time_t - add #define _USE_32BIT_TIME_T on Windows"
5656
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp