Build error under macOS
kwhr0 opened this issue · 1 comments
kwhr0 commented
-
In
gui/drv_cocoa.m
, you need to remove the last argument ofAG_ProcessMouseMotion()
. -
In
core/Makefile
andgui/Makefile
, you need following line.
CFLAGS += -D_DARWIN_C_SOURCE
Without this, dirfd, u_int, etc. will be undefined.
JulNadeauCA commented