[llvm] [Support] Handle delete_pending case for Windows fs::status (PR #90655)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 12:59:20 PDT 2024


mstorsjo wrote:

> It's looking like my build will succeed with
> 
> ```
> #if !defined(__MINGW32__)
> #pragma comment(lib, "ntdll.lib")
> #endif
> ```
> 
> added to [`llvm\lib\Support\ErrorHandling.cpp`](https://github.com/llvm/llvm-project/blob/3716a3c1bce4af81db6a95eee30e35b5b923e319/llvm/lib/Support/ErrorHandling.cpp#L244). I'll submit a PR shortly.

Any reason why we can't just change the `if (MSVC OR MINGW)` into `if (WIN32)` instead?

https://github.com/llvm/llvm-project/pull/90655


More information about the llvm-commits mailing list