Skip to content
Snippets Groups Projects
Commit 337c0b03 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Expand pgrminclude to exclude use of macros CppAsString and CppConcat.

parent 0126db2a
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,8 @@ compile_file() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment