Skip to content

Commit 97b9ac1

Browse files
committed
[Change] __APPLE__ for _LIBCPP_HAS_NO_TIME_ZONE_DATABASE to pass vcpkg triplkets *-osx
1 parent 1eae0c0 commit 97b9ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/bux/XPlatform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
namespace bux {
1616

17-
#ifndef _LIBCPP_HAS_NO_TIME_ZONE_DATABASE
17+
#ifndef __APPLE__
1818
using T_LocalZone = const std::chrono::time_zone *;
1919
inline T_LocalZone local_zone() { return std::chrono::get_tzdb().current_zone(); }
2020
#define LOCALZONE_IS_TIMEZONE (1)

0 commit comments

Comments
 (0)