Index: base/posix/global_descriptors.h |
diff --git a/base/posix/global_descriptors.h b/base/posix/global_descriptors.h |
index c7b9f87fa4b37a9a79a5fb99d90de6f68c738dbc..3d7369c3174a9e8f0df4b0cdd85c4428111a94db 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(); |