pgsql: Use typeof everywhere instead of compiler specific spellings - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Use typeof everywhere instead of compiler specific spellings
Date
Msg-id E1vyROP-002eVD-0w@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2308350c9b775c0c66099ba16af34757c6b0367

Modified Files
--------------
src/include/c.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Portable StaticAssertExpr
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Fix capitalization of Unicode