Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9ac749c

Browse files
committed
Don't include postgres.h in postgres_fe.h for cpluspluscheck.
Error exposed by recent Assert changes. Complaint from Peter Eisentraut.
1 parent 2666a6d commit 9ac749c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/pginclude/cpluspluscheck

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ for f in `find src/include src/interfaces/libpq/libpq-fe.h src/interfaces/libpq/
2525
do
2626
{
2727
echo ' extern "C" {'
28-
echo '#include "postgres.h"'
28+
test $f != "src/include/postgres_fe.h" && echo '#include "postgres.h"'
2929
echo "#include \"$f\""
3030
echo '};'
3131
} >$tmp/test.cpp

0 commit comments

Comments
 (0)