| ... | @@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() { | ... | @@ -45,7 +45,9 @@ _LIBCPP_WEAK string_view __libcpp_tzdb_directory() { |
| 45 | #if defined(__linux__) | 45 | #if defined(__linux__) |
| 46 | return "/usr/share/zoneinfo/"; | 46 | return "/usr/share/zoneinfo/"; |
| 47 | #else | 47 | #else |
| 48 | # error "unknown path to the IANA Time Zone Database" | 48 | // Zig patch: change this compilation error into a runtime crash. |
| | 49 | //# error "unknown path to the IANA Time Zone Database" |
| | 50 | abort(); |
| 49 | #endif | 51 | #endif |
| 50 | } | 52 | } |
| 51 | | 53 | |