8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4dac7 commit 0e264fbCopy full SHA for 0e264fb
src/tools/pginclude/pgnoinclude
@@ -3,6 +3,7 @@ trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
3
find . \( -name CVS -a -prune \) -o -type f -print |
4
grep -v '\./postgres.h' |
5
grep -v '\./config.h' |
6
+grep -v '\./c.h' |
7
while read FILE
8
do
9
if [ "`echo $FILE | sed -n 's/^.*\.\([^\.]*\)$/\1/p'`" = "h" ]
@@ -22,6 +23,7 @@ do
22
23
[ -s /usr/include/$INCLUDE ] && continue
24
[ "$INCLUDE" = postgres.h ] && continue
25
[ "$INCLUDE" = config.h ] && continue
26
+ [ "$INCLUDE" = c.h ] && continue
27
# preserve configure-specific includes
28
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
29
egrep -q '^#if|^#else' && continue
0 commit comments