mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
libc++: patch tz impl to crash on windows instead of FTBFS
This commit is contained in:
parent
fb948fbacc
commit
f6f0fefd8b
1 changed files with 3 additions and 1 deletions
4
lib/libcxx/src/tz.cpp
vendored
4
lib/libcxx/src/tz.cpp
vendored
|
|
@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() {
|
|||
#if defined(__linux__)
|
||||
return "/usr/share/zoneinfo/";
|
||||
#else
|
||||
# error "unknown path to the IANA Time Zone Database"
|
||||
// Zig patch: change this compilation error into a runtime crash.
|
||||
//# error "unknown path to the IANA Time Zone Database"
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue