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 fd5b397 commit d010391Copy full SHA for d010391
src/tools/pginclude/pgrminclude
@@ -43,15 +43,16 @@ do
43
# preserve configure-specific includes
44
# these includes are surrounded by #ifdef's
45
grep -B1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
46
- egrep -q '^#if|^#else' && continue
+ egrep -q '^#if|^#else|^#elif' && continue
47
grep -A1 '^#include[ ][ ]*[<"]'"$INCLUDE"'[>"]' "$FILE" |
48
- egrep -q '^#else|^#endif' && continue
+ egrep -q '^#else|^#elif|^#endif' && continue
49
50
# Remove all #if and #ifdef blocks because the blocks
51
# might contain code that is not compiled on this platform.
52
cat "$FILE" |
53
grep -v "^#if" |
54
grep -v "^#else" |
55
+ grep -v "^#elif" |
56
grep -v "^#endif" >/tmp/$$a
57
58
# set up initial file contents
0 commit comments