pgsql: Remove HAS_TEST_AND_SET. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Remove HAS_TEST_AND_SET.
Date
Msg-id E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org
Whole thread
List pgsql-committers
Remove HAS_TEST_AND_SET.

This is only set when TAS is defined, so we can just check whether
TAS is defined directly instead.

Reviewed-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/afkUeI7UhacZ5ZFm%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e9bc39c5d723836fa3e380b4de4a6175fb302c0

Modified Files
--------------
src/include/storage/s_lock.h | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Remove fallback declaration for tas().
Next
From: Tom Lane
Date:
Subject: pgsql: Modernize crypt-des.c a bit, avoiding dubious casts.