libagar icon indicating copy to clipboard operation
libagar copied to clipboard

Build error under macOS

Open kwhr0 opened this issue 1 year ago • 0 comments

  1. In gui/drv_cocoa.m, you need to remove the last argument of AG_ProcessMouseMotion().

  2. In core/Makefile and gui/Makefile, you need following line.

CFLAGS += -D_DARWIN_C_SOURCE

Without this, dirfd, u_int, etc. will be undefined.

kwhr0 avatar Feb 22 '24 12:02 kwhr0