Closed spacelatte closed 7 years ago
Thanks for the report, however hard coding this is not a good solution. I don't have access to a Mac OS X system, but according to Google SIGWINCH
is available if _DARWIN_C_SOURCE
is defined. This seems to be the case in the homebrew formula. Hence, I'm a bit puzzled as to why this would fail?
The following should work:
CFLAGS=-D_DARWIN_C_SOURCE make
yep, looks like that fixes it. going to update formula then...
there was an error in v0.15 where sigwinch seems to be 'undefined' within default includes in osx
actually seems available on sys/signal.h but doesn't compile.
added definition if not defined already.
homebrew patchfile: https://github.com/Homebrew/formula-patches/blob/master/dvtm/patch-vt.h-compat.patch