pgsql: Define __EXTENSIONS__ on Solaris, too.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Define __EXTENSIONS__ on Solaris, too.
Date: 2024-12-04 01:21:41
Message-ID: E1tIe5F-000zNy-6w@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-12-04 02:21:25 pgsql: Use <stdint.h> and <inttypes.h> for c.h integers.
Previous Message Bruce Momjian 2024-12-03 23:28:03 pgsql: Fix Makefile so invalid characters warning preserves error code