Index: base/memory/shared_memory.h |
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h |
index e88568c92445af78d9ca3a116722a0ececfd2cfe..3c68e90a031ff476dd7585b4d6653cc92e7b7643 100644 |
--- a/base/memory/shared_memory.h |
+++ b/base/memory/shared_memory.h |
@@ -266,7 +266,9 @@ class BASE_EXPORT SharedMemory { |
SHARE_CURRENT_MODE, |
}; |
+#if defined(OS_MACOSX) |
bool Share(SharedMemoryHandle* new_handle, ShareMode share_mode); |
+#endif |
bool ShareToProcessCommon(ProcessHandle process, |
SharedMemoryHandle* new_handle, |