Re: Remove useless casts to (void *) - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Remove useless casts to (void *)
Date
Msg-id xomd5ikcxsrw4ql6z7ja3ruur2wgq7mptrh3kwlddyiceaemuk@h64jkqgs437o
Whole thread Raw
In response to Re: Remove useless casts to (void *)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Remove useless casts to (void *)
List pgsql-hackers
Hi,

On 2024-12-02 17:11:30 -0500, Tom Lane wrote:
> I'm inclined to propose adding something like
> 
> CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200112L"
> 
> to src/template/solaris.  Not sure if we have a corresponding
> mechanism for meson, though.

elif host_system == 'sunos'
  portname = 'solaris'
  export_fmt = '-Wl,-M@0@'
  cppflags += '-D_POSIX_PTHREAD_SEMANTICS'

Should be trivial to add there.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove useless casts to (void *)
Next
From: Tom Lane
Date:
Subject: Re: [18] Unintentional behavior change in commit e9931bfb75