summaryrefslogtreecommitdiff
path: root/amiga/os3support.h
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r--amiga/os3support.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h
index 61b6d06ad..1a4ae4c6d 100644
--- a/amiga/os3support.h
+++ b/amiga/os3support.h
@@ -36,18 +36,21 @@
#include <exec/memory.h>
#endif
-/* Library bases */
-struct Library *SysBase;
-struct Library *DOSBase;
-struct Library *IFFParseBase;
-
/* Define extra memory type flags */
#define MEMF_PRIVATE MEMF_ANY
#define MEMF_SHARED MEMF_ANY
+/* 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);
+#define Notify(...) (void)0;
+
+#define FOpen(A,B,C) Open(A,B);
+#define FClose(A) Close(A);
+
/* Integral type definitions */
typedef int8_t int8;
typedef uint8_t uint8;
@@ -92,7 +95,14 @@ struct TimeVal {
#define IDFMT_DIRECTMAPPED (2) /* Direct mapped icon (truecolor 0xAARRGGBB, V51+) */
/* Functions */
+/* DOS */
int64 GetFileSize(BPTR fh);
+
+/* Exec */
+struct Node *GetHead(struct List *list);
+
+/* Utility */
+char *ASPrintf(const char *fmt, ...);
#endif
#endif