On Wed, Dec 4, 2024 at 5:33 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > hake didn't like that, but after adding -D__EXTENSIONS__ per > https://illumos.org/man/7/standards > it seems happy again. Its configure results are the same as > beforehand, and the warning about shmdt() is gone.
Cool. I was wondering if it was going to break on some of our recent POSIX 2008 stuff (thread-safe <locale.h> bits and pieces) next, given _POSIX_C_SOURCE=200112L. It certainly does know about 2008 too, so it looks like the man page might be out of date. https://github.com/illumos/illumos-gate/blob/master/usr/src/boot/sys/sys/cdefs.h#L724