diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2012-12-18 16:30:14 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2012-12-18 16:30:14 -0500 |
commit | 9ac749ceb5ad040dc2aa834d9f698a3da2425a96 (patch) | |
tree | 1851ce1592fa7396f059d4c6dd333cf3c9ad54cc /src/tools/pginclude/cpluspluscheck | |
parent | 2666a6d0b934b19d4a691b93a64c7d3208acad43 (diff) | |
download | postgresql-9ac749ceb5ad040dc2aa834d9f698a3da2425a96.tar.gz postgresql-9ac749ceb5ad040dc2aa834d9f698a3da2425a96.zip |
Don't include postgres.h in postgres_fe.h for cpluspluscheck.
Error exposed by recent Assert changes.
Complaint from Peter Eisentraut.
Diffstat (limited to 'src/tools/pginclude/cpluspluscheck')
-rwxr-xr-x | src/tools/pginclude/cpluspluscheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index 1f0fa47ba81..b9ce51c2245 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -25,7 +25,7 @@ for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/ do { echo ' extern "C" {' - echo '#include "postgres.h"' + test $f != "src/include/postgres_fe.h" && echo '#include "postgres.h"' echo "#include \"$f\"" echo '};' } >$tmp/test.cpp |