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

Commit4134a8a

Browse files
macdicepull[bot]
authored andcommitted
mstcpip.h is not missing on MinGW.
Remove a small difference between MinGW and MSVC builds which isn'tneeded for modern MinGW, noticed in passing.Discussion:https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
1 parent785f214 commit4134a8a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
#include<netinet/in.h>
7070
#include<netinet/tcp.h>
7171
#include<utime.h>
72-
#ifdef_MSC_VER/* mstcpip.h is missing on mingw */
72+
#ifdefWIN32
7373
#include<mstcpip.h>
7474
#endif
7575

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
#endif
4545
#definenear
4646
#include<shlobj.h>
47-
#ifdef_MSC_VER/* mstcpip.h is missing on mingw */
4847
#include<mstcpip.h>
49-
#endif
5048
#else
5149
#include<sys/socket.h>
5250
#include<netdb.h>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp