f7f27309 |
1 | #ifndef PUTTY_UNIX_H |
2 | #define PUTTY_UNIX_H |
3 | |
4 | typedef void *Context; /* FIXME: probably needs changing */ |
5 | |
6 | /* Simple wraparound timer function */ |
7 | unsigned long getticks(void); /* based on gettimeofday(2) */ |
8 | #define GETTICKCOUNT getticks |
9 | #define TICKSPERSEC 1000000 /* gettimeofday returns microseconds */ |
10 | #define CURSORBLINK 400000 /* FIXME: need right way to do this */ |
11 | |
12 | #define WCHAR wchar_t |
13 | #define BYTE unsigned char |
14 | |
15 | |
16 | #define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */ |
17 | |
18 | #endif |