diff --git a/src/randomenv.cpp b/src/randomenv.cpp index 84486b38ea6..2d32e50cab7 100644 --- a/src/randomenv.cpp +++ b/src/randomenv.cpp @@ -57,7 +57,7 @@ #include #endif -#ifndef _MSC_VER +#ifndef WIN32 extern char** environ; // NOLINT(readability-redundant-declaration): Necessary on some platforms #endif