ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/sysdeps.h
(Generate patch)

Comparing BasiliskII/src/Unix/sysdeps.h (file contents):
Revision 1.18 by cebix, 2001-07-03T15:59:47Z vs.
Revision 1.23 by gbeauche, 2002-09-16T12:03:07Z

# Line 1 | Line 1
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
# Line 103 | Line 103
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;
# Line 155 | Line 158 | typedef struct timespec tm_time_t;
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
# Line 178 | Line 186 | typedef uae_u32 uaecptr;
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines