Skip to content

Commit 0c0203d

Browse files
committed
Parenthesize this macro, just in case.
1 parent 4913efc commit 0c0203d

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
#ifndef WIN32
2222
typedef int pgsocket;
23-
#define PGINVALID_SOCKET -1
23+
#define PGINVALID_SOCKET (-1)
2424
#else
2525
typedef SOCKET pgsocket;
2626
#define PGINVALID_SOCKET INVALID_SOCKET

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy