diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-09 00:24:58 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-09 00:24:58 +0000 |
commit | 2140f056dd47c5f0d74560d54c66724c985c1e95 (patch) | |
tree | 32d8c480f922aba4876bbea6b2b8e94603148598 /amiga/os3support.h | |
parent | 88726e1d898c9368aa423e4307daa847dfad6260 (diff) | |
download | netsurf-2140f056dd47c5f0d74560d54c66724c985c1e95.tar.gz netsurf-2140f056dd47c5f0d74560d54c66724c985c1e95.tar.bz2 |
More simple OS3 fixes
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r-- | amiga/os3support.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h index acf22efc2..b2b09c0df 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -43,15 +43,26 @@ /* Ignore tags that aren't supported */ #define PDTA_PromoteMask TAG_IGNORE -/* Easy wrapper for AllocVecTagList with no tags */ -#define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY); - +/* Easy compat macros */ +/* application */ #define Notify(...) (void)0; + +/* Exec */ +/* AllocVecTagList with no tags */ +#define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY); #define GetSucc(N) (N)->ln_Succ; +/* diskfont */ +/* Only used in one place we haven't ifdeffed, where it returns the charset name */ +#define ObtainCharsetInfo(A,B,C) (const char *)"ISO-8859-1" + +/* DOS */ #define FOpen(A,B,C) Open(A,B); #define FClose(A) Close(A); +/* Intuition */ +#define IDoMethod DoMethod + /* Integral type definitions */ typedef int8_t int8; typedef uint8_t uint8; |