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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy