Content-Length: 256337 | pFad | http://github.com/postgrespro/postgres/commit/f19593754a1b9293b098975fc43263125a40a4c3

0D Have pgrminclude skip files that use CppAsString2 because CppAsString2 · postgrespro/postgres@f195937 · GitHub
Skip to content

Commit f195937

Browse files
committed
Have pgrminclude skip files that use CppAsString2 because CppAsString2
will expaned undefined identifiers.
1 parent f81fb4f commit f195937

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/pginclude/pgrminclude

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ compile_file() {
4343
[ "$INCLUDE" = "postgres_fe.h" ] && continue
4444
[ "$INCLUDE" = "pg_config.h" ] && continue
4545
[ "$INCLUDE" = "c.h" ] && continue
46+
# CppAsString2 will expand undefined identifiers, so skip files that use it
47+
grep -q '\<CppAsString2\>' "$FILE" && continue
4648

4749
# preserve configure-specific includes
4850
# these includes are surrounded by #ifdef's

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f19593754a1b9293b098975fc43263125a40a4c3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy