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

Commitbd9b2fa

Browse files
committed
Add comments on WSAStartup usage.
1 parent3731a40 commitbd9b2fa

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
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.305 2005/05/05 16:36:12 momjian Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.306 2005/05/05 16:40:42 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1963,7 +1963,12 @@ makeEmptyPGconn(void)
19631963
PGconn*conn;
19641964

19651965
#ifdefWIN32
1966-
/* make sure socket support is up and running */
1966+
/*
1967+
*Make sure socket support is up and running.
1968+
*Even though this is done in libpqdll.c, that is only for MSVC and
1969+
*BCC builds and doesn't work for static builds at all, so we have
1970+
*to do it in the main code too.
1971+
*/
19671972
WSADATAwsaData;
19681973

19691974
if (WSAStartup(MAKEWORD(1,1),&wsaData))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp