X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Ftinfo%2Flib_cur_term.c;h=ce8868e746f9e16367a87b96dd24e6d008f59d43;hp=d0aad633dd287340bfa5d9197d89fc61eee6d9dc;hb=7c4bc0fa99a1be37a14aa19a5943a549570954c4;hpb=1078c0231b8a58fbd2dd56b6e0a81b19d6b07f77 diff --git a/ncurses/tinfo/lib_cur_term.c b/ncurses/tinfo/lib_cur_term.c index d0aad633..ce8868e7 100644 --- a/ncurses/tinfo/lib_cur_term.c +++ b/ncurses/tinfo/lib_cur_term.c @@ -40,12 +40,12 @@ #include /* TTY, cur_term */ #include /* ospeed */ -MODULE_ID("$Id: lib_cur_term.c,v 1.16 2008/06/07 22:22:16 tom Exp $") +MODULE_ID("$Id: lib_cur_term.c,v 1.17 2008/06/28 22:59:22 tom Exp $") #undef CUR #define CUR termp->type. -#if USE_REENTRANT +#if BROKEN_LINKER || USE_REENTRANT NCURSES_EXPORT(TERMINAL *) NCURSES_PUBLIC_VAR(cur_term) (void) { @@ -66,7 +66,7 @@ set_curterm(TERMINAL * termp) oldterm = cur_term; if (SP) SP->_term = termp; -#if USE_REENTRANT +#if BROKEN_LINKER || USE_REENTRANT _nc_prescreen._cur_term = termp; #else cur_term = termp;