diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-18 23:54:21 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-18 23:54:21 +0000 |
commit | 73b158d27d95615439334b400c05bc1a9b8453db (patch) | |
tree | 5d743f01c9f8c3ffa8f4536266182943d4eb6750 /amiga/os3support.h | |
parent | 392fa2ea4cfc5df5a86b6cde0e05c909da26f1e5 (diff) | |
download | netsurf-73b158d27d95615439334b400c05bc1a9b8453db.tar.gz netsurf-73b158d27d95615439334b400c05bc1a9b8453db.tar.bz2 |
Fix remaining linker errors
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r-- | amiga/os3support.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h index 4b5deb251..df88cd5a5 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -27,6 +27,7 @@ #ifndef __amigaos4__ #include <stdint.h> + #include <proto/exec.h> #include <proto/dos.h> @@ -37,6 +38,7 @@ #include <exec/memory.h> #endif +/* C macros */ #ifndef ASM #define ASM #endif @@ -45,6 +47,8 @@ #define REG(reg,arg) arg __asm(#reg) #endif +#define MIN(a,b) (((a)<(b))?(a):(b)) + /* Macros */ #define IsMinListEmpty(L) (L)->mlh_Head->mln_Succ == 0 #define LIB_IS_AT_LEAST(B,V,R) ((B)->lib_Version>(V)) || \ @@ -116,6 +120,9 @@ /* application */ #define Notify(...) (void)0 +/* DataTypes */ +#define SaveDTObjectA(O,W,R,F,M,I,A) DoDTMethod(O,W,R,DTM_WRITE,F,M,NULL) + /* 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" |