diff options
author | Tom Lane | 2010-01-31 17:35:46 +0000 |
---|---|---|
committer | Tom Lane | 2010-01-31 17:35:46 +0000 |
commit | 0c0203d0a90181ba027dffa8a92328472238ced3 (patch) | |
tree | d926ca01dbae4335f89a3cdc60173dd6a3f7013e /src | |
parent | 4913efc6244b09e70752e6dab93caaec14c11365 (diff) |
Parenthesize this macro, just in case.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h index 2a4f9b4818a..9fa5cce555a 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * 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 @@ /* socket has a different definition on WIN32 */ #ifndef WIN32 typedef int pgsocket; -#define PGINVALID_SOCKET -1 +#define PGINVALID_SOCKET (-1) #else typedef SOCKET pgsocket; #define PGINVALID_SOCKET INVALID_SOCKET |