summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 16:40:02 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 16:40:02 +0000
commitcefce33dc61e1710fd26bd28a3c0457d7770eca3 (patch)
treefe56570ee2a5e9168828ab64bd62b81e001eb0e2 /osdep
parentb80e027d4ea89a7eb1a23e9896f1c868d49bca01 (diff)
downloadmpv-cefce33dc61e1710fd26bd28a3c0457d7770eca3.tar.bz2
mpv-cefce33dc61e1710fd26bd28a3c0457d7770eca3.tar.xz
atm shmem.c is only needed for cache2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9798 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'osdep')
-rw-r--r--osdep/shmem.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/shmem.c b/osdep/shmem.c
index 9fd6047b54..4339c89533 100644
--- a/osdep/shmem.c
+++ b/osdep/shmem.c
@@ -8,6 +8,8 @@
#include "../config.h"
+#ifdef USE_STREAM_CACHE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -105,3 +107,5 @@ void shmem_free(void* p){
break;
}
}
+
+#endif