1
0
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:
Bruce Momjian 2011-09-07 12:59:17 -04:00
parent f81fb4f690
commit f19593754a

View File

@ -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