Index: base/sys_info.h |
diff --git a/base/sys_info.h b/base/sys_info.h |
index 7460fe09a66319242d56bc8a6b328af591f22c99..415dc811605a1d7fd0a32643d50428bd068d7d8b 100644 |
--- a/base/sys_info.h |
+++ b/base/sys_info.h |
@@ -67,7 +67,7 @@ class SysInfo { |
// allocate. |
static size_t VMAllocationGranularity(); |
-#if defined(OS_LINUX) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
// Returns the maximum SysV shared memory segment size. |
static size_t MaxSharedMemorySize(); |
#endif |