pgsql: Define __EXTENSIONS__ on Solaris, too.

Started by Tom Laneover 1 year ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(-)