pgsql: Define __EXTENSIONS__ on Solaris, too. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Define __EXTENSIONS__ on Solaris, too.
Date
Msg-id E1tIe5F-000zNy-6w@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Define __EXTENSIONS__ on Solaris, too.

Apparently, if you define _POSIX_C_SOURCE on Solaris,
that's interpreted as "you get ONLY what's defined by POSIX".
Results from BF member hake show that that breaks perl.h,
and doubtless it'd cause more problems if we got past that.
Adopt the suggestion from standards(7) that we also need to
define __EXTENSIONS__, in hopes of un-breaking things.

Discussion: https://postgr.es/m/1654508.1733162761@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3b08d5224d7df71cc111d8522cf6190fc02f6fb9

Modified Files
--------------
configure    | 2 +-
configure.ac | 2 +-
meson.build  | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Fix Makefile so invalid characters warning preserves error code
Next
From: Thomas Munro
Date:
Subject: pgsql: Use and for c.h integers.