Skip to content

Commit 337c0b0

Browse files
committed
Expand pgrminclude to exclude use of macros CppAsString and CppConcat.
1 parent 0126db2 commit 337c0b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/pginclude/pgrminclude

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +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
46+
# Stringify macros will expand undefined identifiers, so skip files that use it
47+
egrep -q '\<(CppAsString2?|CppConcat)\>' "$FILE" && continue
4848

4949
# preserve configure-specific includes
5050
# 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