1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-24 10:47:04 +03:00

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

Error exposed by recent Assert changes.

Complaint from Peter Eisentraut.
This commit is contained in:
Andrew Dunstan 2012-12-18 16:30:14 -05:00
parent 2666a6d0b9
commit 9ac749ceb5

View File

@ -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