summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorTom Lane2003-07-27 17:10:07 +0000
committerTom Lane2003-07-27 17:10:07 +0000
commite8db9b26d03b9e58a30eb26ec2ee21c92293d3a2 (patch)
treec2adf83074db369ea5211b06e5181ebabf1a61d8 /src/include/libpq
parentaeea73d4eceb9b33ff16a69c77bd923a0394a6d0 (diff)
elog mop-up.
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/pqcomm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index caa186b8320..2e41b0896ad 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqcomm.h,v 1.90 2003/07/23 23:30:41 tgl Exp $
+ * $Id: pqcomm.h,v 1.91 2003/07/27 17:10:07 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,7 +21,7 @@
/* workaround for clashing defines of "ERROR" */
#ifdef ELOG_H
#undef ERROR
-#define ERROR (-1)
+#define ERROR PGERROR
#endif
#else /* not WIN32 */
#include <sys/socket.h>