X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fcurses.priv.h;h=fa47859659bf8da3d5f9db6627296c7428d58752;hp=ddf15a8a4eb4bb48bc6cb58f94bad03041050d13;hb=176aaa579a65f28a5fab489b89c9948bb28d4c08;hpb=d44d7f381ba0173521cb788ba3adb12e261e5c96 diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h index ddf15a8a..fa478596 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.360 2008/03/01 20:36:39 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 */