[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kjs
From: Raphael Langerhorst <raphael.langerhorst () kdemail ! net>
Date: 2006-11-24 21:37:16
Message-ID: 1164404236.585120.25005.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 607504 by raphael:
Make kdelibs 4 compile on NetBSD.
M +2 -1 collector.cpp
--- trunk/KDE/kdelibs/kjs/collector.cpp #607503:607504
@@ -320,8 +320,9 @@
pthread_t thread = pthread_self();
if (stackBase == 0 || thread != stackThread) {
pthread_attr_t sattr;
-#if HAVE(PTHREAD_NP_H)
+#if HAVE(PTHREAD_NP_H) || __NetBSD__
// e.g. on FreeBSD 5.4, neundorf@kde.org
+ // also on NetBSD 3 and 4, raphael.langerhorst@kdemail.net
pthread_attr_get_np(thread, &sattr);
#else
// FIXME: this function is non-portable; other POSIX systems may have different np alternatives
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic