Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNIX/Linux build and other fixes. #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

sjnewbury
Copy link

This gets things working on fully up to date Gentoo Linux with GCC-6.3.0. There are still warnings which should be addressed, mostly not checking the return value of various functions.

The only contentious part of this patch series is the inclusion of -DBSD which is obviously not correct for Windows builds. It was the old default though. It probably should have it's own variable in the make file to make it clearer that it needs to be changed depending on build system.

@sjnewbury sjnewbury force-pushed the master branch 6 times, most recently from 875121b to f1af551 Compare May 12, 2017 17:08
glob.h needs to be included earlier to set defines
in defs.h.  In particular, it must be before unistd.h.
Since -std=c11 is being used, explicit feature_test_macros
must be set appropriately to provide compatible definitions
of standard functions, such as usleep().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant