diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-12-22 17:14:23 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-12-22 18:32:10 +1300 |
commit | 3f28bd7337d7c01820283fee51027a9dc9d2295f (patch) | |
tree | 504103a001fac55d82ea258352c1e9c5490f08fc /src/backend/commands/cluster.c | |
parent | 01be9d498fa4b836ec3dbf035b6743c8b8f34767 (diff) | |
download | postgresql-3f28bd7337d7c01820283fee51027a9dc9d2295f.tar.gz postgresql-3f28bd7337d7c01820283fee51027a9dc9d2295f.zip |
Add work-around for VA_ARGS_NARGS() on MSVC.
The previous coding of VA_ARGS_NARGS() always returned 1 on Visual
Studio, because it treats __VA_ARGS__ as a single token unless you jump
through extra hoops. Newer compilers have an option to fix that. Add a
comment about that so that we can remember to clean this up in the
future when our minimum MSVC version advances.
Author: Victor Spirin <v.spirin@postgrespro.ru>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/f450fc57-a147-19d0-e50c-33571c52cc13%40postgrespro.ru
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions