From 8bf4522aa53a7b612a865bc10716192f0f05314b Mon Sep 17 00:00:00 2001 From: "alkondratenko@gmail.com" Date: Mon, 11 Mar 2013 19:15:46 +0000 Subject: [PATCH] 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 --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index ebd8531..5e168ab 100644 --- a/configure.ac +++ b/configure.ac @@ -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,