pgsql/src/include/libpq pqcomm.h - Mailing list pgsql-committers

From Marc G. Fournier
Subject pgsql/src/include/libpq pqcomm.h
Date
Msg-id 200109060318.f863IDx47369@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    scrappy@hub.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:

Previous
From: "Marc G. Fournier"
Date:
Subject: pgsql/ oc/src/sgml/func.sgml rc/backend/utils/ ...
Next
From: "Marc G. Fournier"
Date:
Subject: pgsql/src/makefiles Makefile.win