summaryrefslogtreecommitdiffstats
path: root/base/posix
diff options
context:
space:
mode:
Diffstat (limited to 'base/posix')
-rw-r--r--base/posix/global_descriptors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/posix/global_descriptors.h b/base/posix/global_descriptors.h
index c7b9f87..3d7369c31 100644
--- a/base/posix/global_descriptors.h
+++ b/base/posix/global_descriptors.h
@@ -41,7 +41,11 @@ class BASE_EXPORT GlobalDescriptors {
// Often we want a canonical descriptor for a given Key. In this case, we add
// the following constant to the key value:
+#if !defined(OS_ANDROID)
static const int kBaseDescriptor = 3; // 0, 1, 2 are already taken.
+#else
+ static const int kBaseDescriptor = 4; // 3 used by __android_log_write().
+#endif
// Return the singleton instance of GlobalDescriptors.
static GlobalDescriptors* GetInstance();