Index: Source/wtf/ThreadIdentifierDataPthreads.cpp |
diff --git a/Source/wtf/ThreadIdentifierDataPthreads.cpp b/Source/wtf/ThreadIdentifierDataPthreads.cpp |
index 9590e5b0e260f1d89a49f0e740f9f85490170879..065baa44c704a4ca8b001ab6b063c74aa3b3d1d3 100644 |
--- a/Source/wtf/ThreadIdentifierDataPthreads.cpp |
+++ b/Source/wtf/ThreadIdentifierDataPthreads.cpp |
@@ -37,14 +37,12 @@ |
#include "wtf/Assertions.h" |
#include "wtf/WTF.h" |
-#if OS(ANDROID) |
-// PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it here. |
+#include <limits.h> |
+ |
+// PTHREAD_KEYS_MAX might be not defined (e.g. in certain bionic versions), so explicitly define it here. |
#ifndef PTHREAD_KEYS_MAX |
#define PTHREAD_KEYS_MAX 1024 |
#endif // PTHREAD_KEYS_MAX |
-#else |
-#include <limits.h> |
-#endif |
namespace WTF { |