[flang-commits] [flang] [llvm] [flang] improve compatibility with mingw headers (PR #172041)

Jameson Nash via flang-commits flang-commits at lists.llvm.org
Tue Dec 23 14:46:11 PST 2025


================
@@ -23,11 +23,9 @@
 #define unlink _unlink
 #define PATH_MAX MAX_PATH
 
-#ifdef _MSC_VER
----------------
vtjnash wrote:

There isn't a third option: MSVC and MINGW-W64 are the only suppliers of the windows.h headers that I'm aware of (this is specifying the headers not the compiler)

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


More information about the flang-commits mailing list