X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/0a4022a169cfdd133882ecae233352e769685a1d..78280721237452736c89a89866380e0673f29cb3:/mac/macstuff.h diff --git a/mac/macstuff.h b/mac/macstuff.h index a4cab6e6..796515b4 100644 --- a/mac/macstuff.h +++ b/mac/macstuff.h @@ -8,12 +8,13 @@ typedef void *Context; /* FIXME */ #include #include +#include "charset.h" struct Filename { FSSpec fss; }; -extern FILE * f_open(struct Filename, char const *); +extern FILE * f_open(struct Filename, char const *, int); /* Suspiciously similar to an ICFontRecord */ struct FontSpec { @@ -43,6 +44,9 @@ struct FontSpec { #define BYTE UInt8 #define DWORD UInt32 +typedef UInt32 uint32; +#define PUTTY_UINT32_DEFINED + #define OPTIMISE_SCROLL /* @@ -63,3 +67,6 @@ extern int strnicmp(char const *, char const *, size_t); #define HELPCTX(foo) I(0) #define FILTER_KEY_FILES "pAgt.PPK" + +#define CP_UTF8 CS_UTF8 /* from libcharset */ +