# HG changeset patch # User diego # Date 1174161271 0 # Node ID bf78d0e672d330264cf390801890de1d2b595942 # Parent 2677b18556f9b81b26a7082393baaf4fbd2bea9f Do not disable cache on MinGW, just disable shmem compilation. diff -r 2677b18556f9 -r bf78d0e672d3 configure --- a/configure Sat Mar 17 19:48:53 2007 +0000 +++ b/configure Sat Mar 17 19:54:31 2007 +0000 @@ -646,6 +646,7 @@ _color_console=no _stream_cache=yes _def_stream_cache="#define USE_STREAM_CACHE 1" +_need_shmem=yes for ac_option do case "$ac_option" in --help|-help|-h) @@ -1291,8 +1292,7 @@ fi if mingw32 ; then - _stream_cache=no - _def_stream_cache="#undef USE_STREAM_CACHE" + _need_shmem=no fi if amigaos ; then @@ -7519,6 +7519,7 @@ NEED_GLOB = $_need_glob NEED_SCANDIR = $_need_scandir NEED_SETENV = $_need_setenv +NEED_SHMEM = $_need_shmem NEED_STRLCAT = $_need_strlcat NEED_STRLCPY = $_need_strlcpy NEED_STRSEP = $_need_strsep diff -r 2677b18556f9 -r bf78d0e672d3 osdep/Makefile --- a/osdep/Makefile Sat Mar 17 19:48:53 2007 +0000 +++ b/osdep/Makefile Sat Mar 17 19:54:31 2007 +0000 @@ -4,7 +4,6 @@ SRCS_COMMON-$(HAVE_SYS_MMAN_H) += mmap_anon.c SRCS_COMMON-$(MACOSX_FINDER_SUPPORT) += macosx_finder_args.c -SRCS_COMMON-$(STREAM_CACHE) += shmem.c SRCS_COMMON-$(NEED_FSEEKO) += fseeko.c SRCS_COMMON-$(NEED_FTELLO) += ftello.c @@ -12,6 +11,7 @@ SRCS_COMMON-$(NEED_GLOB) += glob-win.c SRCS_COMMON-$(NEED_SCANDIR) += scandir.c SRCS_COMMON-$(NEED_SETENV) += setenv.c +SRCS_COMMON-$(NEED_SHMEM) += shmem.c SRCS_COMMON-$(NEED_STRLCAT) += strlcat.c SRCS_COMMON-$(NEED_STRLCPY) += strlcpy.c SRCS_COMMON-$(NEED_STRSEP) += strsep.c