diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-01-21 10:56:03 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-01-21 10:56:03 +0900 |
commit | 733d670073efd2c3a9df07c225006668009ab793 (patch) | |
tree | 415227a685d93f5c37245991a56e1a32b0bc78ac /contrib/postgres_fdw/postgres_fdw.c | |
parent | b663a4136331de6c7364226e3dbf7c88bfee7145 (diff) | |
download | postgresql-733d670073efd2c3a9df07c225006668009ab793.tar.gz postgresql-733d670073efd2c3a9df07c225006668009ab793.zip |
Switch "cl /?" to "cl /help" in MSVC scripts for platform detection
"cl /?" produces a different output if run on a real or a virtual drive
(this can be set with a simple subst command), causing an error in the
MSVC scripts if building on a virtual drive because the platform to use
cannot be detected.
"cl /help", on the contrary, produces a consistent output if used on a
real or virtual drive. Changing to "/help" allows the compilation to
work with a virtual drive as long as the top of the code repository is
part of the drive, without impacting the build on real drives.
Reported-by: Robert Grange
Author: Juan José SantamarÃa Flecha
Discussion: https://postgr.es/m/16825-c4f104bcebc67034@postgresql.org
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions