Skip site navigation (1) Skip section navigation (2)

pgsql/src/include/libpq pqcomm.h

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/include/libpq pqcomm.h
Date: 2001-09-06 03:18:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	scrappy(at)hub(dot)org	01/09/05 23:18:12

Modified files:
	src/include/libpq: pqcomm.h 

Log message:
	This fixes clashing defines of ERROR. On win32, winapi.h is included, which
	includes windows.h, which #defines ERROR to 0. PostgreSQL's logging functions
	define ERROR to -1. This patch redefines ERROR to -1 to avoid current or
	future breakage of the logging functions.
	Gerhard H?ring

pgsql-committers by date

Next:From: Marc G. FournierDate: 2001-09-06 03:20:30
Subject: pgsql/src/interfaces/jdbc/org/postgresql jdbc1 ...
Previous:From: Marc G. FournierDate: 2001-09-06 03:16:46
Subject: pgsql/src/makefiles Makefile.unixware

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group