summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralkondratenko@gmail.com <alkondratenko@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2013-03-11 19:15:46 +0000
committeralkondratenko@gmail.com <alkondratenko@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2013-03-11 19:15:46 +0000
commit8bf4522aa53a7b612a865bc10716192f0f05314b (patch)
tree18d052c7ae363d94403f92cd8da01b4fec12b7bd
parent9c24d255cdd8dab7482d968acc69d493680233ce (diff)
downloadgperftools-8bf4522aa53a7b612a865bc10716192f0f05314b.tar.gz
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
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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,