Re: wine_gettid patch

Daniel Koch <[email protected]> Thu, 26 Apr 2007 16:26:06 -0400
Newsgroups gmane.comp.emulators.winex.devel
Message-ID <[email protected]>
Thanks.  But it has now been fixed correctly instead :-)
(Not that your patch was wrong, just not the intended solution.)

Daniel

Rob Crittenden wrote:
> The CVS source currently builds but fails at runtime with:
> 
> "BUILTIN32_dlopen failed to load .so lib for builtin x11drv.dll: 
> /path/to/wine/lib/libx11drv.so: undefined symbol: wine_gettid"
> 
> Here is a patch which fixes it:
> 
> Index: dlls/x11drv/glx.c
> ===================================================================
> RCS file: /cvsroot/winex/dlls/x11drv/glx.c,v
> retrieving revision 1.157
> diff -r1.157 glx.c
> 1516c1516
> <     ctx->owner_unix_tid = wine_gettid();
> ---
>  >     ctx->owner_unix_tid = wine_gettid_or_pid();
> 
> I donate this code to Transgaming.
> 
> rob


-- 
Daniel Koch -+- Cedega Development Lead -+- TransGaming Technologies
  [email protected]  +1 613.244.1111 x352  www.transgaming.com
       55 Byward Market, 2nd floor, Ottawa, ON  Canada  K1N 9C3