summaryrefslogtreecommitdiffstats
path: root/base/mac/mac_logging.h
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 15:02:30 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 15:02:30 +0000
commitdb87d6a207cc9e8a6a52201e0472fe467c990b7b (patch)
tree43484b08f5c9f2a44c4dfa0a26361f0370d57a8e /base/mac/mac_logging.h
parentc68cb0ef3433b184cf331e475dfc6d7363cda983 (diff)
downloadchromium_src-db87d6a207cc9e8a6a52201e0472fe467c990b7b.zip
chromium_src-db87d6a207cc9e8a6a52201e0472fe467c990b7b.tar.gz
chromium_src-db87d6a207cc9e8a6a52201e0472fe467c990b7b.tar.bz2
Get mac_logging and foundation_util working on iOS
BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10690133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146117 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/mac/mac_logging.h')
-rw-r--r--base/mac/mac_logging.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h
index c463a35..7db601c 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