diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2021-03-09 19:52:24 +0100 |
---|---|---|
committer | Markus Böck <markus.boeck02@gmail.com> | 2021-03-09 19:53:22 +0100 |
commit | 1956288fbbafc5a7e879fe133f28c11490591f36 (patch) | |
tree | 9d62c030613d29bdeb57b432f1aca69e1c49d612 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | c11ff4bbada3b5127a1f010e0a97a1e6e46fb61a (diff) | |
download | llvm-1956288fbbafc5a7e879fe133f28c11490591f36.zip llvm-1956288fbbafc5a7e879fe133f28c11490591f36.tar.gz llvm-1956288fbbafc5a7e879fe133f28c11490591f36.tar.bz2 |
[Support][test] Unconditionally use setenv macro when compiling on Windows
This test currently fails to compile when using a MinGW toolchain as setenv is not defined. This function is a POSIX function Windows does not implement.
This patch enables the setenv macro used in the unit test for all of Windows, making the test compile and run successfully.
Differential Revision: https://reviews.llvm.org/D98271
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions