[PATCH xproto] Xthreads.h: Declare _Xthread_init for WIN32
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Nov 22 22:33:53 PST 2013
Oops, sorry, I forgot this patch was still outstanding when I cut the
xproto release tonight.
The prototype matches the definition in libX11's src/locking.c, so
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
On 11/21/13 06:29 PM, Yaakov (Cygwin/X) wrote:
> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
>
> This fixes the build of libXt on *-*-mingw* with -Werror=implicit.
>
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> ---
> Xthreads.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Xthreads.h b/Xthreads.h
> index 3d44208..2027127 100644
> --- a/Xthreads.h
> +++ b/Xthreads.h
> @@ -107,6 +107,7 @@ typedef struct {
> struct _xthread_waiter *waiters;
> } xcondition_rec;
> typedef CRITICAL_SECTION xmutex_rec;
> +extern void _Xthread_init(void);
> # define xthread_init() _Xthread_init()
> # define xthread_self GetCurrentThreadId
> # define xthread_fork(func,closure) { \
>
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel
mailing list