diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-11-21 20:20:22 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2013-11-23 19:09:46 -0600 |
commit | 3911ad9e8e8911c4b4a5d624e73b51667d0e3963 (patch) | |
tree | d2a0e88eb5a15b8be71d649a5d356865a5f39633 | |
parent | a7fa86998c873ce7463d169b4bd423898ca2bae1 (diff) | |
download | xorg-proto-x11proto-3911ad9e8e8911c4b4a5d624e73b51667d0e3963.tar.gz |
Xthreads.h: Declare _Xthread_init for WIN32
This fixes the build of libXt on *-*-mingw* with -Werror=implicit.
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Xthreads.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { \ |