-
Notifications
You must be signed in to change notification settings - Fork 188
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
Build failure on OpenBSD: SIGWINCH #110
Comments
|
liweitianux
added a commit
to liweitianux/termbox-next
that referenced
this issue
Oct 5, 2018
This patch makes it working on BSD (tested on DragonFly BSD, should be the same on FreeBSD). Fix issue: nsf#110 On Linux, such features macros (_POSIX_C_SOURCE, _XOPEN_SOURCE) are required to expose more functions. However, on *BSD, almost everything is exposed when no feature macros are defined, while defining feature macros would restrict the functions to be exposed. See more information at: https://lists.freebsd.org/pipermail/freebsd-standards/2004-March/000474.html
nullgemm
pushed a commit
to nullgemm/termbox_next
that referenced
this issue
Jul 27, 2020
This patch makes it working on BSD (tested on DragonFly BSD, should be the same on FreeBSD). Fix issue: nsf#110 On Linux, such features macros (_POSIX_C_SOURCE, _XOPEN_SOURCE) are required to expose more functions. However, on *BSD, almost everything is exposed when no feature macros are defined, while defining feature macros would restrict the functions to be exposed. See more information at: https://lists.freebsd.org/pipermail/freebsd-standards/2004-March/000474.html
nullgemm
pushed a commit
to nullgemm/termbox_next
that referenced
this issue
Jul 27, 2020
This patch makes it working on BSD (tested on DragonFly BSD, should be the same on FreeBSD). Fix issue: nsf#110 On Linux, such features macros (_POSIX_C_SOURCE, _XOPEN_SOURCE) are required to expose more functions. However, on *BSD, almost everything is exposed when no feature macros are defined, while defining feature macros would restrict the functions to be exposed. See more information at: https://lists.freebsd.org/pipermail/freebsd-standards/2004-March/000474.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix is to set
__BSD_VISIBLE
to1
before including<signal.h>
.In
<signal.h>
:Cheers.
The text was updated successfully, but these errors were encountered: