From 4c44e151bee80973bd3bf20de78da756528e4b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sat, 2 Jun 2012 18:55:04 +0200 Subject: [PATCH] ntdll: Get the unix tid on DragonFly BSD. --- dlls/ntdll/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c index 8a01d228bd1..392668d5f19 100644 --- a/dlls/ntdll/server.c +++ b/dlls/ntdll/server.c @@ -955,6 +955,8 @@ static int get_unix_tid(void) long lwpid; thr_self( &lwpid ); ret = lwpid; +#elif defined(__DragonFly__) + ret = lwp_gettid(); #endif return ret; }