2 * macstuff.h -- Mac-specific definitions visible to the rest of PuTTY.
5 typedef void *Context; /* FIXME */
16 extern FILE * f_open(struct Filename, char const *);
18 /* Suspiciously similar to an ICFontRecord */
27 * On the Mac, Unicode text copied to the clipboard has U+2028 line separators.
28 * Non-Unicode text will have these converted to CR along with the rest of the
31 #define SEL_NL { 0x2028 }
34 #include <Events.h> /* Timing related goo */
36 #define GETTICKCOUNT TickCount
37 #define CURSORBLINK GetCaretTime()
38 #define TICKSPERSEC 60
40 #define DEFAULT_CODEPAGE 0 /* FIXME: no idea how to do this */
46 #define OPTIMISE_SCROLL
49 * sk_getxdmdata() does not exist under the Mac (SGT: I have no
50 * idea whatsoever how to write it, and furthermore I'm unconvinced
51 * it's necessary), so it's a macro which always returns FALSE.
53 #define sk_getxdmdata(socket, ip, port) (0)
55 /* To make it compile */
58 extern int vsnprintf(char *, size_t, char const *, va_list);
60 extern int stricmp(char const *, char const *);
61 extern int strnicmp(char const *, char const *, size_t);