b6dafe7567
space for the next major version. WebKit is an open source web browser engine. WebKit is also the name of the Mac OS X system framework version of the engine that's used by Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML and JavaScript code began as a branch of the KHTML and KJS libraries from KDE. This is the GTK2+ port of the engine of the 2.4 series.
17 lines
539 B
Text
17 lines
539 B
Text
$NetBSD: patch-ai,v 1.1 2015/07/12 00:37:47 wiz Exp $
|
|
|
|
--- Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp.orig 2013-08-03 16:10:38.000000000 +0000
|
|
+++ Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp
|
|
@@ -39,6 +39,12 @@
|
|
#if OS(HURD)
|
|
// PTHREAD_KEYS_MAX is not defined in bionic nor in Hurd, so explicitly define it here.
|
|
#define PTHREAD_KEYS_MAX 1024
|
|
+#elif OS(NETBSD)
|
|
+#include <limits.h>
|
|
+// PTHREAD_KEYS_MAX is not defined in 5.x
|
|
+#ifndef PTHREAD_KEYS_MAX
|
|
+#define PTHREAD_KEYS_MAX 256
|
|
+#endif
|
|
#else
|
|
#include <limits.h>
|
|
#endif
|