]> granicus.if.org Git - postgresql/commit
This fixes clashing defines of ERROR. On win32, winapi.h is included, which
authorBruce Momjian <bruce@momjian.us>
Thu, 6 Sep 2001 03:18:12 +0000 (03:18 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 6 Sep 2001 03:18:12 +0000 (03:18 +0000)
commit0b71596fdddef4077f703fcf7407e7b56522ad0d
treeaf6f89a8776708d71c3a88349e2ab221f2de7415
parente9f546365f061af57b6367d29714316e9488f4c7
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
src/include/libpq/pqcomm.h