This commit is contained in:
Michael Griffin 2017-07-25 12:20:34 +00:00 committed by GitHub
commit 68d09a92cb

View File

@ -447,7 +447,7 @@ class FormatEpochTimeInMillisAsIso8601Test : public Test {
// tzset() distinguishes between the TZ variable being present and empty
// and not being present, so we have to consider the case of time_zone
// being NULL.
#if _MSC_VER
#if _MSC_VER || _WIN32
// ...Unless it's MSVC, whose standard library's _putenv doesn't
// distinguish between an empty and a missing variable.
const std::string env_var =