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

Commit8e4f407

Browse files
committed
Un-break MSVC build, per Andrew Dunstan.
1 parentab3bb9c commit8e4f407

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

‎src/interfaces/libpq/fe-connect.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.299 2005/01/06 21:41:44 tgl Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.300 2005/01/10 00:19:43 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -35,7 +35,14 @@
3535

3636
#ifdefWIN32
3737
#include"win32.h"
38+
#ifdef_WIN32_IE
39+
#undef _WIN32_IE
40+
#endif
3841
#define_WIN32_IE 0x0400
42+
#ifdefnear
43+
#undef near
44+
#endif
45+
#definenear
3946
#include<shlobj.h>
4047
#else
4148
#include<sys/socket.h>

‎src/interfaces/libpq/win32.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ LIB32_OBJS= \
138138
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\libpq.res"
139139

140140
LINK32=link.exe
141-
LINK32_FLAGS=kernel32.lib user32.lib advapi32.lib wsock32.lib$(SSL_LIBS)\
141+
LINK32_FLAGS=kernel32.lib user32.lib advapi32.libshell32.libwsock32.lib$(SSL_LIBS)\
142142
/nologo /subsystem:windows /dll$(LOPT) /incremental:no\
143143
/pdb:"$(OUTDIR)\libpqdll.pdb" /machine:I386 /out:"$(OUTDIR)\$(OUTFILENAME).dll"\
144144
/implib:"$(OUTDIR)\$(OUTFILENAME)dll.lib" /def:$(OUTFILENAME)dll.def

‎src/port/path.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/path.c,v 1.49 2005/01/06 21:41:45 tgl Exp $
11+
* $PostgreSQL: pgsql/src/port/path.c,v 1.50 2005/01/10 00:19:51 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -18,7 +18,14 @@
1818
#include<ctype.h>
1919
#include<sys/stat.h>
2020
#ifdefWIN32
21+
#ifdef_WIN32_IE
22+
#undef _WIN32_IE
23+
#endif
2124
#define_WIN32_IE 0x0400
25+
#ifdefnear
26+
#undef near
27+
#endif
28+
#definenear
2229
#include<shlobj.h>
2330
#else
2431
#include<unistd.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp