1 |
|
/* |
2 |
|
* sysdeps.h - System dependent definitions for Unix |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2001 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2002 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 |
103 |
|
/* ExtFS is supported */ |
104 |
|
#define SUPPORTS_EXTFS 1 |
105 |
|
|
106 |
+ |
/* BSD socket API supported */ |
107 |
+ |
#define SUPPORTS_UDP_TUNNEL 1 |
108 |
+ |
|
109 |
|
|
110 |
|
/* Data types */ |
111 |
|
typedef unsigned char uint8; |
158 |
|
typedef struct timeval tm_time_t; |
159 |
|
#endif |
160 |
|
|
161 |
< |
/* Offset Mac->Unix time in seconds */ |
162 |
< |
#define TIME_OFFSET 0x7c25b080 |
161 |
> |
/* Define codes for all the float formats that we know of. |
162 |
> |
* Though we only handle IEEE format. */ |
163 |
> |
#define UNKNOWN_FLOAT_FORMAT 0 |
164 |
> |
#define IEEE_FLOAT_FORMAT 1 |
165 |
> |
#define VAX_FLOAT_FORMAT 2 |
166 |
> |
#define IBM_FLOAT_FORMAT 3 |
167 |
> |
#define C4X_FLOAT_FORMAT 4 |
168 |
|
|
169 |
|
/* UAE CPU data types */ |
170 |
|
#define uae_s8 int8 |
186 |
|
extern uint64 GetTicks_usec(void); |
187 |
|
extern void Delay_usec(uint32 usec); |
188 |
|
|
189 |
+ |
#ifdef HAVE_PTHREADS |
190 |
+ |
/* Centralized pthread attribute setup */ |
191 |
+ |
void Set_pthread_attr(pthread_attr_t *attr, int priority); |
192 |
+ |
#endif |
193 |
+ |
|
194 |
|
/* UAE CPU defines */ |
195 |
|
#ifdef WORDS_BIGENDIAN |
196 |
|
|