issue-504: do not define HAVE_MMAP on mingw
Because, clearly, windows doesn't have one git-svn-id: http://gperftools.googlecode.com/svn/trunk@206 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
This commit is contained in:
parent
9c24d255cd
commit
8bf4522aa5
|
@ -163,6 +163,11 @@ fi
|
|||
# This workaround comes from
|
||||
# http://cygwin.com/ml/cygwin/2004-11/msg00138.html
|
||||
case "$host" in
|
||||
*-*-mingw*)
|
||||
dnl mingw doesn't have mmap, not worth
|
||||
dnl checking. Especially given that mingw can be a
|
||||
dnl cross-compiler
|
||||
;;
|
||||
*-*-cygwin*)
|
||||
ac_cv_func_mmap_fixed_mapped=yes
|
||||
AC_DEFINE(HAVE_MMAP, 1,
|
||||
|
|
Loading…
Reference in New Issue