Content-Length: 259030 | pFad | http://github.com/postgrespro/postgres/commit/9ac749ceb5ad040dc2aa834d9f698a3da2425a96

AC Don't include postgres.h in postgres_fe.h for cpluspluscheck. · postgrespro/postgres@9ac749c · GitHub
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

Lines changed: 1 addition & 1 deletion
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/9ac749ceb5ad040dc2aa834d9f698a3da2425a96

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy