Re: 17f446784d54da827f74c2acc0fa772a41b92354 breaks orafce build
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: zengman <zengman@halodbtech.com>, Japin Li <japinli@hotmail.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>,
pgsql-hackers <pgsql-hackers@lists.postgresql.org>,
Thomas Munro <thomas.munro@gmail.com>
Date: 2025-12-26T15:20:10Z
Lists: pgsql-hackers
On 26.12.25 16:03, zengman wrote: >> Apologies for that; I overlooked CC'ing you. > > Hi all,I have an idea: We can add this definition to `src/include/c.h`: > ``` > #ifndef static_assert > #define static_assert _Static_assert > #endif > ``` No, this wouldn't work with C23 and beyond. The correct fix is to rename the local assert.h file, as has already been proposed.