Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: base/mac/mac_logging.h

Issue 10690133: Get mac_logging and foundation_util working on iOS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address review comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/mac/foundation_util.mm ('k') | base/mac/mac_logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/mac_logging.h
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h
index c463a35c9c8acef96f628f7d837f887405e2d8d2..7db601c2892f8320dfac0ff8f032c120e70aacc9 100644
--- a/base/mac/mac_logging.h
+++ b/base/mac/mac_logging.h
@@ -6,9 +6,14 @@
#define BASE_MAC_MAC_LOGGING_H_
#pragma once
-#include <libkern/OSTypes.h>
-
#include "base/logging.h"
+#include "build/build_config.h"
+
+#if defined(OS_IOS)
+#include <MacTypes.h>
+#else
+#include <libkern/OSTypes.h>
+#endif
// Use the OSSTATUS_LOG family to log messages related to errors in Mac OS X
// system routines that report status via an OSStatus or OSErr value. It is
« no previous file with comments | « base/mac/foundation_util.mm ('k') | base/mac/mac_logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698