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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy