File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ tmp=`mktemp -d /tmp/$me.XXXXXX`
15
15
echo ' extern "C" {'
16
16
echo ' #include "postgres.h"'
17
17
18
- # Omit port/, because it's platform specific, and c.h includes it anyway. Omit
19
- # regex/ and snowball/, because those files came from elsewhere, and they would
20
- # need extra work if someone cared to fix them. kwlist.h is not meant to be
21
- # included directly. rusagestub.h will be included by ./utils/pg_rusage.h if
22
- # necessary.
23
- for file in ` find . \( -name port -prune -o -name regex -prune -o -name snowball -prune \) -o -name ' *.h' -not -name kwlist.h -not -name rusagestub.h -print` ; do
18
+ # Omit port/, because it's platform specific, and c.h includes the relevant
19
+ # file anyway.
20
+ # Omit regex/ and snowball/, because those files came from elsewhere, and
21
+ # they would need extra work if someone cared to fix them.
22
+ # gram.h will be included by ./parser/gramparse.h.
23
+ # kwlist.h is not meant to be included without having defined PG_KEYWORD.
24
+ # rusagestub.h will be included by ./utils/pg_rusage.h if necessary.
25
+ for file in ` find . \( -name port -prune -o -name regex -prune -o -name snowball -prune \) -o -name ' *.h' -not -name gram.h -not -name kwlist.h -not -name rusagestub.h -print` ; do
24
26
f=` echo $file | sed ' s,^\./,,' `
25
27
echo " #include \" $f \" "
26
28
done
You can’t perform that action at this time.
0 commit comments