This fixes clashing defines of ERROR. On win32, winapi.h is included, which

Bruce Momjian <bruce@momjian.us>

Commit: 0b71596fdddef4077f703fcf7407e7b56522ad0d
Author: Bruce Momjian <bruce@momjian.us>
Date: 2001-09-06T03:18:12Z
Releases: 7.2.1
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

Files

PathChange+/−
src/include/libpq/pqcomm.h modified +6 −1