From: Paul Cercueil Date: Thu, 24 Feb 2022 18:52:21 +0000 (+0000) Subject: Win32: Add symlink to fake X-Git-Tag: r24l~503^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c3b98565410c5017afea8f41b7a56322a7a66db;p=pcsx_rearmed.git Win32: Add symlink to fake Add a symlink from include/mman/sys/mman.h to deps/mman/mman.h. Then, Lightning can be tricked into using our mman.h without having to modify the external mman-win32 repo. Signed-off-by: Paul Cercueil --- diff --git a/Makefile b/Makefile index a1d63365..6a83f46b 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ OBJS += deps/lightning/lib/jit_disasm.o \ deps/lightrec/recompiler.o \ deps/lightrec/reaper.o ifeq ($(MMAP_WIN32),1) -CFLAGS += -Ideps/mman +CFLAGS += -Iinclude/mman OBJS += deps/mman/mman.o endif else ifeq "$(DYNAREC)" "ari64" diff --git a/include/mman/sys/mman.h b/include/mman/sys/mman.h new file mode 120000 index 00000000..1c111c30 --- /dev/null +++ b/include/mman/sys/mman.h @@ -0,0 +1 @@ +../../../deps/mman/mman.h \ No newline at end of file