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