Don't use #if inside function-like macro arguments.

Thomas Munro <tmunro@postgresql.org>

Commit: 0c08856856f54056ce8db116e9d254fda114c383
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2021-07-19T23:19:13Z
Releases: 15.0
Don't use #if inside function-like macro arguments.

No concrete problem reported, but in the past it's been known to cause
problems on some compilers so let's avoid doing that.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/234364.1626704007%40sss.pgh.pa.us

Files

PathChange+/−
src/backend/storage/file/fd.c modified +9 −6

Discussion