summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-08 17:31:25 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-08 17:31:25 +0000
commite2c560a9f681bc6bf696604cc60029552701f089 (patch)
tree6753b272590e5f83f74b3e583417477d47f5d4db /osdep
parentae75174784f5c4172b28dafd7a3e91b1037a4dc4 (diff)
downloadmpv-e2c560a9f681bc6bf696604cc60029552701f089.tar.bz2
mpv-e2c560a9f681bc6bf696604cc60029552701f089.tar.xz
Move decision about whether or not to compile osdep/mmap_os2.c to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26350 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/osdep/Makefile b/osdep/Makefile
index c0f7a2c7ec..5a7645d713 100644
--- a/osdep/Makefile
+++ b/osdep/Makefile
@@ -7,6 +7,7 @@ SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c
SRCS_COMMON-$(NEED_GETTIMEOFDAY) += gettimeofday.c
SRCS_COMMON-$(NEED_GLOB) += glob-win.c
+SRCS_COMMON-$(NEED_MMAP) += mmap-os2.c
SRCS_COMMON-$(NEED_SETENV) += setenv.c
SRCS_COMMON-$(NEED_SHMEM) += shmem.c
SRCS_COMMON-$(NEED_STRSEP) += strsep.c
@@ -26,9 +27,6 @@ getch = getch2-win.c
endif
ifeq ($(TARGET_OS),OS/2)
getch = getch2-os2.c
-ifneq ($(HAVE_SYS_MMAN_H),yes)
-SRCS_COMMON += mmap-os2.c
-endif
endif
SRCS_COMMON += $(timer)
SRCS_COMMON += $(getch)