diff --git a/flang/runtime/file.cpp b/flang/runtime/file.cpp --- a/flang/runtime/file.cpp +++ b/flang/runtime/file.cpp @@ -15,6 +15,7 @@ #include #include #ifdef _WIN32 +#define NOMINMAX #include #include #else