projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2666a6d
)
Don't include postgres.h in postgres_fe.h for cpluspluscheck.
author
Andrew Dunstan
<andrew@dunslane.net>
Tue, 18 Dec 2012 21:30:14 +0000
(16:30 -0500)
committer
Andrew Dunstan
<andrew@dunslane.net>
Tue, 18 Dec 2012 21:30:14 +0000
(16:30 -0500)
Error exposed by recent Assert changes.
Complaint from Peter Eisentraut.
src/tools/pginclude/cpluspluscheck
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/pginclude/cpluspluscheck
b/src/tools/pginclude/cpluspluscheck
index 1f0fa47ba81eff2296f429ce131a82dbe90fe51d..b9ce51c22454e925bcf01f0fb17879d9ea1af7b1 100755
(executable)
--- a/
src/tools/pginclude/cpluspluscheck
+++ b/
src/tools/pginclude/cpluspluscheck
@@
-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