Commit 9ac749ce authored by Andrew Dunstan's avatar Andrew Dunstan

Don't include postgres.h in postgres_fe.h for cpluspluscheck.

Error exposed by recent Assert changes.

Complaint from Peter Eisentraut.
parent 2666a6d0
...@@ -25,7 +25,7 @@ for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/ ...@@ -25,7 +25,7 @@ for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/
do do
{ {
echo ' extern "C" {' echo ' extern "C" {'
echo '#include "postgres.h"' test $f != "src/include/postgres_fe.h" && echo '#include "postgres.h"'
echo "#include \"$f\"" echo "#include \"$f\""
echo '};' echo '};'
} >$tmp/test.cpp } >$tmp/test.cpp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment