ntdll: Get the unix tid on DragonFly BSD

André Hentschel nerv at dawncrow.de
Sat Jun 2 11:55:04 CDT 2012


---
 dlls/ntdll/server.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/server.c b/dlls/ntdll/server.c
index 8a01d22..392668d 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;
 }
-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list