Re: Remove useless casts to (void *)

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter@eisentraut.org>, Andreas Karlsson <andreas@proxel.se>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-12-04T05:22:34Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> 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.

Do you want to try setting it to 200809?  But let's wait to see what
margay has to say about the current choices.

			regards, tom lane



Commits

  1. Remove PointerIsValid()

  2. Define __EXTENSIONS__ on Solaris, too.

  3. Define _POSIX_C_SOURCE as 200112L on Solaris.

  4. Remove useless casts to (void *)