Title: [94281] trunk/Source/_javascript_Core
- Revision
- 94281
- Author
- [email protected]
- Date
- 2011-09-01 02:40:47 -0700 (Thu, 01 Sep 2011)
Log Message
Define PTHREAD_KEYS_MAX to fix Android port build.
https://bugs.webkit.org/show_bug.cgi?id=67362
Patch by Hao Zheng <[email protected]> on 2011-09-01
Reviewed by Adam Barth.
PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it.
* wtf/ThreadIdentifierDataPthreads.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (94280 => 94281)
--- trunk/Source/_javascript_Core/ChangeLog 2011-09-01 08:44:55 UTC (rev 94280)
+++ trunk/Source/_javascript_Core/ChangeLog 2011-09-01 09:40:47 UTC (rev 94281)
@@ -1,3 +1,14 @@
+2011-09-01 Hao Zheng <[email protected]>
+
+ Define PTHREAD_KEYS_MAX to fix Android port build.
+ https://bugs.webkit.org/show_bug.cgi?id=67362
+
+ Reviewed by Adam Barth.
+
+ PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it.
+
+ * wtf/ThreadIdentifierDataPthreads.cpp:
+
2011-08-31 Oliver Hunt <[email protected]>
Fix build.
Modified: trunk/Source/_javascript_Core/wtf/ThreadIdentifierDataPthreads.cpp (94280 => 94281)
--- trunk/Source/_javascript_Core/wtf/ThreadIdentifierDataPthreads.cpp 2011-09-01 08:44:55 UTC (rev 94280)
+++ trunk/Source/_javascript_Core/wtf/ThreadIdentifierDataPthreads.cpp 2011-09-01 09:40:47 UTC (rev 94281)
@@ -36,7 +36,12 @@
#include "Threading.h"
+#if OS(ANDROID)
+// PTHREAD_KEYS_MAX is not defined in bionic, so explicitly define it here.
+#define PTHREAD_KEYS_MAX 1024
+#else
#include <limits.h>
+#endif
namespace WTF {
@@ -87,4 +92,3 @@
} // namespace WTF
#endif // USE(PTHREADS)
-
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes