diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -227,10 +227,17 @@ iconv support use --disable-iconv.", 'name': 'bsd-thread-name', 'desc': 'BSD API for setting thread name', 'deps_neg': [ 'glibc-thread-name', 'osx-thread-name' ], - 'func': check_statement('pthread.h', + 'func': check_statement(['pthread.h', 'pthread_np.h'], 'pthread_set_name_np(pthread_self(), "ducks")', use=['pthreads']), }, { + 'name': 'netbsd-thread-name', + 'desc': 'NetBSD API for setting thread name', + 'deps_neg': [ 'glibc-thread-name', 'osx-thread-name', 'bsd-thread-name' ], + 'func': check_statement('pthread.h', + 'pthread_setname_np(pthread_self(), "%s", (void *)"ducks")', + use=['pthreads']), + }, { 'name': 'bsd-fstatfs', 'desc': "BSD's fstatfs()", 'func': check_statement(['sys/param.h', 'sys/mount.h'], |