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

Commit0c0203d

Browse files
committed
Parenthesize this macro, just in case.
1 parent4913efc commit0c0203d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.129 2010/01/10 14:16:08 mha Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.130 2010/01/31 17:35:46 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -20,7 +20,7 @@
2020
/* socket has a different definition on WIN32 */
2121
#ifndefWIN32
2222
typedefintpgsocket;
23-
#definePGINVALID_SOCKET-1
23+
#definePGINVALID_SOCKET(-1)
2424
#else
2525
typedefSOCKETpgsocket;
2626
#definePGINVALID_SOCKET INVALID_SOCKET

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp