d082ac49 |
1 | /* |
2 | * macstuff.h -- Mac-specific definitions visible to the rest of PuTTY. |
3 | */ |
4 | |
5 | typedef void *Context; /* FIXME */ |
6 | |
7 | /* |
8 | * On the Mac, Unicode text copied to the clipboard has U+2028 line separators. |
9 | * Non-Unicode text will have these converted to CR along with the rest of the |
10 | * content. |
11 | */ |
12 | #define SEL_NL { 0x2028 } |
13 | |
14 | |
15 | #include <Events.h> /* Timing related goo */ |
16 | |
17 | #define GETTICKCOUNT TickCount |
18 | #define CURSORBLINK GetCaretTime() |
19 | #define TICKSPERSEC 60 |
20 | |
21 | #define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */ |
22 | |
23 | #define WCHAR wchar_t |
24 | #define BYTE unsigned char |
25 | |
37d2a505 |
26 | #define OPTIMISE_SCROLL |
27 | |
d082ac49 |
28 | /* To make it compile */ |
29 | |
30 | #include <stdarg.h> |
31 | extern int vsnprintf(char *, size_t, char const *, va_list); |