mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 05:47:01 +02:00
Expand pgrminclude to exclude use of macros CppAsString and CppConcat.
This commit is contained in:
parent
0126db2a46
commit
337c0b0361
@ -43,8 +43,8 @@ compile_file() {
|
|||||||
[ "$INCLUDE" = "postgres_fe.h" ] && continue
|
[ "$INCLUDE" = "postgres_fe.h" ] && continue
|
||||||
[ "$INCLUDE" = "pg_config.h" ] && continue
|
[ "$INCLUDE" = "pg_config.h" ] && continue
|
||||||
[ "$INCLUDE" = "c.h" ] && continue
|
[ "$INCLUDE" = "c.h" ] && continue
|
||||||
# CppAsString2 will expand undefined identifiers, so skip files that use it
|
# Stringify macros will expand undefined identifiers, so skip files that use it
|
||||||
grep -q '\<CppAsString2\>' "$FILE" && continue
|
egrep -q '\<(CppAsString2?|CppConcat)\>' "$FILE" && continue
|
||||||
|
|
||||||
# preserve configure-specific includes
|
# preserve configure-specific includes
|
||||||
# these includes are surrounded by #ifdef's
|
# these includes are surrounded by #ifdef's
|
||||||
|
Loading…
Reference in New Issue
Block a user