-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
time.rs: fix branching error conditional compilation
libc uses macro cfg_if, which is if-else branching, so conditions based on environments have precedence over os-based cases. For instance, a value that exists in the linux mod of libc would not only require the OS to be linux, but the environment to NOT be uclibc or newlib
- Loading branch information
Showing
1 changed file
with
71 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters