X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/b51259f6a879f69bec5348bddb604d9b3d499941..65857773290a7bacd6f5d84ab51a9c1228e61e99:/unix/unix.h diff --git a/unix/unix.h b/unix/unix.h index f12f576d..90c6ec2f 100644 --- a/unix/unix.h +++ b/unix/unix.h @@ -45,8 +45,8 @@ extern Backend pty_backend; /* Simple wraparound timer function */ unsigned long getticks(void); /* based on gettimeofday(2) */ #define GETTICKCOUNT getticks -#define TICKSPERSEC 1000000 /* gettimeofday returns microseconds */ -#define CURSORBLINK 450000 /* no standard way to set this */ +#define TICKSPERSEC 1000 /* we choose to use milliseconds */ +#define CURSORBLINK 450 /* no standard way to set this */ #define WCHAR wchar_t #define BYTE unsigned char @@ -118,8 +118,8 @@ void (*putty_signal(int sig, void (*func)(int)))(int); * Exports from unicode.c. */ struct unicode_data; -int init_ucs(struct unicode_data *ucsdata, - char *line_codepage, int font_charset, int vtmode); +int init_ucs(struct unicode_data *ucsdata, char *line_codepage, + int utf8_override, int font_charset, int vtmode); /* * Spare function exported directly from uxnet.c.