X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fbase%2Flib_mouse.c;h=dac03955116597e8516fddf5adc33bc8fbb9fd7a;hp=f12686c0af8ba043c62219ca3eb69c440479c022;hb=c120fddebe9e9c1e2b29dbd744a6b1d03652bf8b;hpb=41677b308e138027b7e435f741ee7fe5651237b0 diff --git a/ncurses/base/lib_mouse.c b/ncurses/base/lib_mouse.c index f12686c0..dac03955 100644 --- a/ncurses/base/lib_mouse.c +++ b/ncurses/base/lib_mouse.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * + * Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -84,7 +84,7 @@ #define CUR SP_TERMTYPE #endif -MODULE_ID("$Id: lib_mouse.c,v 1.118 2010/05/15 21:31:12 tom Exp $") +MODULE_ID("$Id: lib_mouse.c,v 1.121 2011/01/22 19:47:47 tom Exp $") #include @@ -867,7 +867,9 @@ _nc_mouse_inline(SCREEN *sp) * We encode those as button presses. */ # if USE_PTHREADS_EINTR +# if USE_WEAK_SYMBOLS if ((pthread_self) && (pthread_kill) && (pthread_equal)) +# endif _nc_globals.read_thread = pthread_self(); # endif for (grabbed = 0; grabbed < 3; grabbed += (size_t) res) { @@ -1448,7 +1450,7 @@ NCURSES_SP_NAME(mousemask) (NCURSES_SP_DCLx mmask_t newmask, mmask_t * oldmask) } } } - returnBits(result); + returnMMask(result); } #if NCURSES_SP_FUNCS