From 59c10234470be0ca8a10a7adcedf1e4be659cd7c Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Fri, 2 May 2014 09:42:11 +0200 Subject: [PATCH] Fixes apple compilation --- lib/shared_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared_memory.cpp b/lib/shared_memory.cpp index 99225dd5..8893135e 100644 --- a/lib/shared_memory.cpp +++ b/lib/shared_memory.cpp @@ -172,6 +172,7 @@ namespace IPC { } +#if !defined __APPLE__ ///\brief Unmaps a shared page if allowed void sharedPage::unmap() { if (mapped && len) { @@ -198,7 +199,6 @@ namespace IPC { } -#if !defined __APPLE__ ///brief Creates a shared page ///\param name_ The name of the page to be created ///\param len_ The size to make the page