aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libretro
diff options
context:
space:
mode:
authortwinaphex2014-12-13 05:53:54 +0100
committernotaz2014-12-20 20:43:39 +0200
commitce0e7ac9c11993f9165615dec870c50e1c3b39bf (patch)
tree629b0c946cab1a27a3624299c6b09a691ee47a40 /Makefile.libretro
parent1e1cccd9ef788b3582002283f6cb7e48db53677f (diff)
downloadpcsx_rearmed-ce0e7ac9c11993f9165615dec870c50e1c3b39bf.tar.gz
pcsx_rearmed-ce0e7ac9c11993f9165615dec870c50e1c3b39bf.tar.bz2
pcsx_rearmed-ce0e7ac9c11993f9165615dec870c50e1c3b39bf.zip
psxmem: Add mman wrapper for Win32 and use it for PCSX ReARmed libretro Win32
Conflicts: Makefile.libretro
Diffstat (limited to 'Makefile.libretro')
-rw-r--r--Makefile.libretro3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.libretro b/Makefile.libretro
index d92b9ad..a8f63fa 100644
--- a/Makefile.libretro
+++ b/Makefile.libretro
@@ -21,6 +21,8 @@ CFLAGS ?=
TARGET_NAME := pcsx_rearmed
+MMAP_WIN32=0
+
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
fpic := -fPIC
@@ -141,6 +143,7 @@ else
LD_FLAGS := -fPIC
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=libretro/link.T
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__
+ MMAP_WIN32=1
endif
CFLAGS += -fPIC