diff options
Diffstat (limited to 'www/webkit-gtk/patches/patch-ai')
-rw-r--r-- | www/webkit-gtk/patches/patch-ai | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/webkit-gtk/patches/patch-ai b/www/webkit-gtk/patches/patch-ai index 5ce80446d2f..335e233cf3a 100644 --- a/www/webkit-gtk/patches/patch-ai +++ b/www/webkit-gtk/patches/patch-ai @@ -1,17 +1,17 @@ -$NetBSD: patch-ai,v 1.3 2012/10/30 12:46:30 drochner Exp $ +$NetBSD: patch-ai,v 1.4 2014/08/03 22:30:05 wiz Exp $ ---- Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp.orig 2012-04-24 01:38:21.000000000 +0000 +--- 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(ANDROID) || OS(HURD) + #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) ++#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 ++#endif #else #include <limits.h> #endif |