Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strptime: Add a fallback macro for
timezone
(#2493)
According to the UNIX standard: The external variable timezone shall be set to the difference, in seconds, between Coordinated Universal Time (UTC) and local standard time FreeBSD is incompatible with this standard. In particular, since it exposes a function symbol `char* timezone(int, int)`, expressions like `-(timezone)` causes a compile error. Fix it by adding a compat macro for FreeBSD. Signed-off-by: Fujimoto Seiji <[email protected]>
- Loading branch information