[all-commits] [llvm/llvm-project] 195628: [Support][test] Unconditionally use setenv macro w...

zero9178 via All-commits all-commits at lists.llvm.org
Tue Mar 9 10:53:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1956288fbbafc5a7e879fe133f28c11490591f36
      https://github.com/llvm/llvm-project/commit/1956288fbbafc5a7e879fe133f28c11490591f36
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M llvm/unittests/Support/ThreadPool.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list