From: notaz Date: Sun, 6 Aug 2023 18:24:58 +0000 (+0300) Subject: try to fix apple build X-Git-Tag: r24l~256 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c58254620b74c4697cdc0e81f222490bc4f318a;p=pcsx_rearmed.git try to fix apple build --- diff --git a/Makefile b/Makefile index dac70e32..2f58674b 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,7 @@ OBJS += deps/libchdr/deps/zlib-1.2.13/adler32.o \ deps/libchdr/deps/zlib-1.2.13/trees.o \ deps/libchdr/deps/zlib-1.2.13/uncompr.o \ deps/libchdr/deps/zlib-1.2.13/zutil.o +deps/libchdr/deps/zlib-1.2.13/%.o: CFLAGS += -DHAVE_UNISTD_H endif ifeq "$(ARCH)" "arm" OBJS += libpcsxcore/gte_arm.o