Fix compiler warning for MSVC in libpq_pipeline.c
David Rowley <drowley@postgresql.org>
Fix compiler warning for MSVC in libpq_pipeline.c DEBUG was already defined by the MSVC toolchain for "Debug" builds. On these systems the unconditional #define DEBUG was causing a 'DEBUG': macro redefinition warning. Here we rename DEBUG to DEBUG_OUPUT and also get rid of the #define which defined this constant. This appears to have been left in the code by mistake. Discussion: https://postgr.es/m/CAApHDvqTTgDm38s4HRj03nhzhzQ1oMOj-RXFUB1pE6Bj07jyuQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/libpq_pipeline/libpq_pipeline.c | modified | +1 −2 |
Discussion
Cited messages not in the archive:
CAApHDvqTTgDm38s4HRj03nhzhzQ1oMOj-RXFUB1pE6Bj07jyuQ@mail.gmail.com