Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / wtf / ThreadIdentifierDataPthreads.cpp
index 9590e5b..065baa4 100644 (file)
 #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 {