SHA256
1
0
forked from pool/ncurses
Dr. Werner Fink 2010-05-07 17:22:34 +00:00 committed by Git OBS Bridge
parent fd98ed7ee3
commit ca95f2fd94

View File

@ -53,15 +53,18 @@
TR(TRACE_IEVENT, TR(TRACE_IEVENT,
--- ncurses/curses.priv.h --- ncurses/curses.priv.h
+++ ncurses/curses.priv.h 2010-05-07 18:51:15.686924218 +0200 +++ ncurses/curses.priv.h 2010-05-07 18:51:15.686924218 +0200
@@ -448,6 +448,7 @@ extern NCURSES_EXPORT(int) _nc_mutex_unl @@ -448,8 +448,10 @@ extern NCURSES_EXPORT(int) _nc_mutex_unl
#endif #endif
#ifdef USE_PTHREADS #ifdef USE_PTHREADS
+# define USE_EINTR +# define USE_EINTR
# if USE_WEAK_SYMBOLS # if USE_WEAK_SYMBOLS
weak_symbol(pthread_sigmask); weak_symbol(pthread_sigmask);
+weak_symbol(pthread_kill);
weak_symbol(pthread_self); weak_symbol(pthread_self);
@@ -471,6 +472,38 @@ extern NCURSES_EXPORT(int) _nc_sigprocma weak_symbol(pthread_equal);
weak_symbol(pthread_mutex_init);
@@ -471,6 +473,38 @@ extern NCURSES_EXPORT(int) _nc_sigprocma
#else /* !USE_PTHREADS */ #else /* !USE_PTHREADS */
@ -100,7 +103,7 @@
#define _nc_init_pthreads() /* nothing */ #define _nc_init_pthreads() /* nothing */
#define _nc_mutex_init(obj) /* nothing */ #define _nc_mutex_init(obj) /* nothing */
@@ -798,6 +831,9 @@ typedef struct { @@ -798,6 +832,9 @@ typedef struct {
int use_pthreads; int use_pthreads;
#define _nc_use_pthreads _nc_globals.use_pthreads #define _nc_use_pthreads _nc_globals.use_pthreads
#endif #endif