|
12 | 12 | * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
13 | 13 | * Portions Copyright (c) 1994, Regents of the University of California
|
14 | 14 | *
|
15 |
| - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.87 2004/03/25 21:48:59 momjian Exp $ |
| 15 | + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-int.h,v 1.88 2004/05/31 18:42:40 tgl Exp $ |
16 | 16 | *
|
17 | 17 | *-------------------------------------------------------------------------
|
18 | 18 | */
|
@@ -490,7 +490,7 @@ __attribute__((format_arg(1)));
|
490 | 490 | #else
|
491 | 491 | #defineSOCK_ERRNO errno
|
492 | 492 | #defineSOCK_STRERROR pqStrerror
|
493 |
| -#defineSOCK_ERRNO_SET(e) errno=e |
| 493 | +#defineSOCK_ERRNO_SET(e)(errno = (e)) |
494 | 494 | #endif
|
495 | 495 |
|
496 | 496 | #endif/* LIBPQ_INT_H */
|