diff options
Diffstat (limited to 'absl/time/internal')
-rw-r--r-- | absl/time/internal/test_util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/time/internal/test_util.cc b/absl/time/internal/test_util.cc index 59166a7c82dd..fbddbb733698 100644 --- a/absl/time/internal/test_util.cc +++ b/absl/time/internal/test_util.cc @@ -116,7 +116,10 @@ std::unique_ptr<cctz::ZoneInfoSource> TestFactory( } // namespace +#if !defined(__MINGW32__) +// MinGW does not support the weak symbol extension mechanism. ZoneInfoSourceFactory zone_info_source_factory = TestFactory; +#endif } // namespace cctz_extension } // namespace time_internal |