Skip to content

Commit 6873bf0

Browse files
committed
patch __libcpp_tzdb_directory to allow use on osx
1 parent c7aea98 commit 6873bf0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libcxx/src/experimental/tzdb.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ namespace chrono {
4848
// This function is weak so it can be overriden in the tests. The
4949
// declaration is in the test header test/support/test_tzdb.h
5050
_LIBCPP_WEAK string_view __libcpp_tzdb_directory() {
51-
#if defined(__linux__)
5251
return "/usr/share/zoneinfo/";
53-
#else
54-
# error "unknown path to the IANA Time Zone Database"
55-
#endif
5652
}
5753

5854
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)