summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-06-02 13:45:01 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-06-02 13:45:01 -0400
commitf4755a2c01486519cfce5b21ab04529ad26f5ed1 (patch)
treecf2064aa302dedcdc6c50c86d9053db2be609afa /src/backend/access/gist/gist.c
parent032627ee7837f0baa539df7247e003dbaded2c90 (diff)
downloadpostgresql-f4755a2c01486519cfce5b21ab04529ad26f5ed1.tar.gz
Make cpluspluscheck more portable.
Teach it to scrape -I and -D switches from CPPFLAGS in Makefile.global. This is useful for testing on, eg, FreeBSD, where you won't get far without "-I/usr/local/include". Also, expand the set of blacklisted-for-unportability atomics headers, based on noting that arch-x86.h fails to compile on an ARM box. The other ones I'd omitted seem to compile all right on architectures they don't belong to, but that's surely too shaky to rely on. Let's do like we did for the src/include/port/ headers, and ignore all except the variant that's pulled in by the arch-independent header.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions