X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Funix.h;h=90c6ec2fdeac5afc32a7b41947c676c251acabac;hb=9fc67313fb7dda826c9c464a21e0900c724769b1;hp=f12f576d5608acc7700ac5790d7edd69949276f0;hpb=66fa6f320e9e870d75a9cc83e97d354d1f4653dc;p=PuTTY.git 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.