mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:30:06 +00:00
modified more time based files to work on clang
This commit is contained in:
parent
5c3bcaa0ce
commit
0585ab828c
3 changed files with 3 additions and 3 deletions
|
|
@ -271,7 +271,7 @@ size_t RadarSite::ReadConfig(const std::string& path)
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
#if defined(_MSC_VER)
|
#if (defined(_MSC_VER) || defined(__clang__))
|
||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
#else
|
#else
|
||||||
using namespace date;
|
using namespace date;
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,7 @@ const scwx::util::time_zone* RadarProductManager::default_time_zone() const
|
||||||
}
|
}
|
||||||
|
|
||||||
case types::DefaultTimeZone::Local:
|
case types::DefaultTimeZone::Local:
|
||||||
#if defined(_MSC_VER)
|
#if (defined(_MSC_VER) || defined(__clang__))
|
||||||
return std::chrono::current_zone();
|
return std::chrono::current_zone();
|
||||||
#else
|
#else
|
||||||
return date::current_zone();
|
return date::current_zone();
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ namespace scwx
|
||||||
namespace util
|
namespace util
|
||||||
{
|
{
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if (defined(_MSC_VER) || defined(__clang__))
|
||||||
typedef std::chrono::time_zone time_zone;
|
typedef std::chrono::time_zone time_zone;
|
||||||
#else
|
#else
|
||||||
typedef date::time_zone time_zone;
|
typedef date::time_zone time_zone;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue