google / cctz

CCTZ is a C++ library for translating between absolute and civil times using the rules of a time zone.
Apache License 2.0
596 stars 166 forks source link

Buildfix OpenBSD. #224

Closed 3405691582 closed 2 years ago

3405691582 commented 2 years ago

OpenBSD does not expose vasprintf when _XOPEN_SOURCE is defined, but __bsd_locale_fallbacks.h in the platform libc++ requires this to be visible, thereby causing a compilation failure. In fact, strptime and vasprintf are normally visible without defining any standard-visibility #defines, so don't do anything special here.


This change is Reviewable