=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Get the unix tid on DragonFly BSD.

Alexandre Julliard julliard at winehq.org
Mon Jun 4 13:27:13 CDT 2012


Module: wine
Branch: master
Commit: 4c44e151bee80973bd3bf20de78da756528e4b20
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4c44e151bee80973bd3bf20de78da756528e4b20

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Jun  2 18:55:04 2012 +0200

ntdll: Get the unix tid on DragonFly BSD.

---

 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;
 }




More information about the wine-cvs mailing list