Commit 0c0203d0 authored by Tom Lane's avatar Tom Lane

Parenthesize this macro, just in case.

parent 4913efc6
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/port.h,v 1.129 2010/01/10 14:16:08 mha Exp $ * $PostgreSQL: pgsql/src/include/port.h,v 1.130 2010/01/31 17:35:46 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
/* socket has a different definition on WIN32 */ /* socket has a different definition on WIN32 */
#ifndef WIN32 #ifndef WIN32
typedef int pgsocket; typedef int pgsocket;
#define PGINVALID_SOCKET -1 #define PGINVALID_SOCKET (-1)
#else #else
typedef SOCKET pgsocket; typedef SOCKET pgsocket;
#define PGINVALID_SOCKET INVALID_SOCKET #define PGINVALID_SOCKET INVALID_SOCKET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment