libpq++/pgconnection.h must not include postgres_fe.h, else it fails to
Tom Lane <tgl@sss.pgh.pa.us>
libpq++/pgconnection.h must not include postgres_fe.h, else it fails to compile in client apps that use the standard installed header set. To allow removing that include, move DLLIMPORT definitions out of c.h and into the appropriate port-specific header files.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/c.h | modified | +3 −22 |
| src/include/pg_config.h.in | modified | +11 −2 |
| src/include/pg_config.h.win32 | modified | +28 −0 |
| src/include/port/win32.h | modified | +27 −0 |
| src/include/port/win.h | modified | +26 −0 |
| src/interfaces/libpq++/pgconnection.h | modified | +1 −2 |