#define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY"
+#ifdef macintosh
+#define OPTIMISE_SCROLL
+#endif
+
#ifdef macintosh
#include <MacTypes.h>
+#include <Palettes.h>
typedef UInt32 DWORD;
struct mac_session;
#endif /* macintosh */
/* Colour options */
int try_palette;
int bold_colour;
+#ifdef macintosh
+ PaletteHandle colours;
+#else /* not macintosh */
unsigned char colours[22][3];
+#endif /* not macintosh */
/* Selection options */
+#ifndef macintosh
int mouse_is_xterm;
+#endif
short wordness[256];
} Config;
void write_clip (void *, int);
void get_clip (void **, int *);
void optimised_move (int, int, int);
+void do_scroll(int, int, int);
void fatalbox (const char *, ...);
void beep (void);
#define OPTIMISE_IS_SCROLL 1