Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1574)

Unified Diff: Source/wtf/ThreadIdentifierDataPthreads.cpp

Issue 351683007: Remove the OS() guard from ThreadIdentifierDataPthreads.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698