Обсуждение: pgsql: Don't use #if inside function-like macro arguments.

Поиск
Список
Период
Сортировка

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

От
Thomas Munro
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c08856856f54056ce8db116e9d254fda114c383

Modified Files
--------------
src/backend/storage/file/fd.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)