// Copyright 2021 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "testing/scoped_set_tz.h" #include <stdlib.h> #include <time.h> #include "build/build_config.h" #include "core/fxcrt/check_op.h" namespace { constexpr char kTZ[] = …; #if BUILDFLAG(IS_WIN) #define SETENV … #define TZSET … #define UNSETENV … #else #define SETENV(name, value) … #define TZSET … #define UNSETENV(name) … #endif } // namespace ScopedSetTZ::ScopedSetTZ(const std::string& tz) { … } ScopedSetTZ::~ScopedSetTZ() { … }