-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utility: fix build on FreeBSD and other BSD variants.
The _POSIX_C_SOURCE #if was a hopeful attempt, but apparently it didn't work at all, due to _POSIX_C_SOURCE not being a thing at all unless explicitly defined by the user. So instead testing for the BSD macros directly. Co-authored-by: Yuri Victorovich <yuri@FreeBSD.org>
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 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
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