2 * macstuff.h -- Mac-specific definitions visible to the rest of PuTTY.
5 typedef void *Context; /* FIXME */
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
12 #define SEL_NL { 0x2028 }
15 #include <Events.h> /* Timing related goo */
17 #define GETTICKCOUNT TickCount
18 #define CURSORBLINK GetCaretTime()
19 #define TICKSPERSEC 60
21 #define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */
27 #define OPTIMISE_SCROLL
30 * sk_getxdmdata() does not exist under the Mac (SGT: I have no
31 * idea whatsoever how to write it, and furthermore I'm unconvinced
32 * it's necessary), so it's a macro which always returns FALSE.
34 #define sk_getxdmdata(socket, ip, port) (0)
36 /* To make it compile */
39 extern int vsnprintf(char *, size_t, char const *, va_list);
41 extern int stricmp(char const *, char const *);
42 extern int strnicmp(char const *, char const *, size_t);