Index: base/mac/mach_logging.cc |
diff --git a/base/mac/mach_logging.cc b/base/mac/mach_logging.cc |
index 0ab6416fbe0851d25a36e3f5dae4fc96bf4e474c..c5ff85e662f8303a9f5cdf06fe5349f5fb471c98 100644 |
--- a/base/mac/mach_logging.cc |
+++ b/base/mac/mach_logging.cc |
@@ -4,13 +4,15 @@ |
#include "base/mac/mach_logging.h" |
-#include <servers/bootstrap.h> |
- |
#include <iomanip> |
#include <string> |
#include "base/strings/stringprintf.h" |
+#if !defined(OS_IOS) |
+#include <servers/bootstrap.h> |
+#endif // !OS_IOS |
+ |
namespace { |
std::string FormatMachErrorNumber(mach_error_t mach_err) { |
@@ -41,6 +43,8 @@ MachLogMessage::~MachLogMessage() { |
<< FormatMachErrorNumber(mach_err_); |
} |
+#if !defined(OS_IOS) |
+ |
BootstrapLogMessage::BootstrapLogMessage(const char* file_path, |
int line, |
LogSeverity severity, |
@@ -78,4 +82,6 @@ BootstrapLogMessage::~BootstrapLogMessage() { |
} |
} |
+#endif // !OS_IOS |
+ |
} // namespace logging |