From eb43d803c6325e3337776bb30d35a5f2be581c97 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sat, 4 Apr 2009 08:54:49 +0200 Subject: [PATCH] Upstream tarball 9552 --- .svn-revision | 2 +- src/FileArea.cpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.svn-revision b/.svn-revision index d3da81a6..98dde3ad 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -9551 +9552 diff --git a/src/FileArea.cpp b/src/FileArea.cpp index cf7bb08e..58e33085 100644 --- a/src/FileArea.cpp +++ b/src/FileArea.cpp @@ -77,6 +77,11 @@ struct sigaction CFileAreaSigHandler::old_bus; #define PAGE_SIZE 8192u +/* define MAP_ANONYMOUS for Mac OS X */ +#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) +#define MAP_ANONYMOUS MAP_ANON +#endif + void CFileAreaSigHandler::Handler(int sig, siginfo_t *info, void *ctx) { wxMutexLocker lock(mutex); -- 2.11.4.GIT