mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Have pgrminclude skip files that use CppAsString2 because CppAsString2
will expaned undefined identifiers.
This commit is contained in:
parent
f81fb4f690
commit
f19593754a
@ -43,6 +43,8 @@ compile_file() {
|
||||
[ "$INCLUDE" = "postgres_fe.h" ] && continue
|
||||
[ "$INCLUDE" = "pg_config.h" ] && continue
|
||||
[ "$INCLUDE" = "c.h" ] && continue
|
||||
# CppAsString2 will expand undefined identifiers, so skip files that use it
|
||||
grep -q '\<CppAsString2\>' "$FILE" && continue
|
||||
|
||||
# preserve configure-specific includes
|
||||
# these includes are surrounded by #ifdef's
|
||||
|
Loading…
x
Reference in New Issue
Block a user