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:
parent
2666a6d0b9
commit
9ac749ceb5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user