1 |
|
/* |
2 |
|
* sysdeps.h - System dependent definitions for AmigaOS |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-1999 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2000 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
39 |
|
// Is the Mac ROM write protected? |
40 |
|
#define ROM_IS_WRITE_PROTECTED 0 |
41 |
|
|
42 |
+ |
// ExtFS is supported |
43 |
+ |
#define SUPPORTS_EXTFS 1 |
44 |
+ |
|
45 |
+ |
// mon is not supported |
46 |
+ |
#define ENABLE_MON 0 |
47 |
+ |
|
48 |
|
// Data types |
49 |
|
typedef unsigned char uint8; |
50 |
|
typedef signed char int8; |
52 |
|
typedef signed short int16; |
53 |
|
typedef unsigned long uint32; |
54 |
|
typedef signed long int32; |
55 |
< |
typedef char bool; |
56 |
< |
#define true 1 |
57 |
< |
#define false 0 |
58 |
< |
typedef LONG loff_t; |
55 |
> |
typedef unsigned long long uint64; |
56 |
> |
typedef signed long long int64; |
57 |
> |
|
58 |
> |
typedef unsigned long long loff_t; |
59 |
|
|
60 |
|
// Time data type for Time Manager emulation |
61 |
|
typedef struct timeval tm_time_t; |
69 |
|
#define htons(x) (x) |
70 |
|
#define htonl(x) (x) |
71 |
|
|
72 |
+ |
// Some systems don't define this (ExecBase->AttnFlags) |
73 |
+ |
#ifndef AFF_68060 |
74 |
+ |
#define AFF_68060 (1L<<7) |
75 |
+ |
#endif |
76 |
+ |
|
77 |
|
#endif |