X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;ds=sidebyside;f=ncurses%2Fcurses.priv.h;h=bd2dc32cb5d5b066d2f1adaddf058dd5ff8c63b5;hb=6a5e1ae3015763934a358df2680a77458ca3e342;hp=ddf15a8a4eb4bb48bc6cb58f94bad03041050d13;hpb=d44d7f381ba0173521cb788ba3adb12e261e5c96;p=ncurses.git diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h index ddf15a8a..bd2dc32c 100644 --- a/ncurses/curses.priv.h +++ b/ncurses/curses.priv.h @@ -34,7 +34,7 @@ /* - * $Id: curses.priv.h,v 1.359 2008/02/23 21:19:56 tom Exp $ + * $Id: curses.priv.h,v 1.361 2008/03/29 21:14:14 tom Exp $ * * curses.priv.h * @@ -351,6 +351,14 @@ extern NCURSES_EXPORT(void) _nc_unlock_window(WINDOW *); #define _nc_lock_screen(name) /* nothing */ #define _nc_unlock_screen(name) /* nothing */ +#if HAVE_GETTIMEOFDAY +# define PRECISE_GETTIME 1 +# define TimeType struct timeval +#else +# define PRECISE_GETTIME 0 +# define TimeType time_t +#endif + /* * Definitions for color pairs */ @@ -563,6 +571,9 @@ typedef struct { int tgetent_index; long tgetent_sequence; + WINDOWLIST *_nc_windowlist; +#define _nc_windows _nc_globals._nc_windowlist + #if USE_HOME_TERMINFO char *home_terminfo; #endif @@ -832,12 +843,6 @@ struct screen { * per screen basis. */ struct panelhook _panelHook; - /* - * Linked-list of all windows, to support '_nc_resizeall()' and - * '_nc_freeall()' - */ - WINDOWLIST *_nc_sp_windows; -#define _nc_windows SP->_nc_sp_windows bool _sig_winch; SCREEN *_next_screen;