Use typeof everywhere instead of compiler specific spellings

Peter Eisentraut <peter@eisentraut.org>

Commit: e2308350c9b775c0c66099ba16af34757c6b0367
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-06T09:14:32Z
Use typeof everywhere instead of compiler specific spellings

We define typeof ourselves as __typeof__ if it does not exist.  So
let's actually use that for consistency.  The meson/autoconf checks
for __builtin_types_compatible_p still use __typeof__ though, because
there we have not redefined it.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg@mail.gmail.com

Files

PathChange+/−
src/include/c.h modified +4 −4

Discussion