1 |
|
/* |
2 |
|
* sysdeps.h - System dependent definitions for AmigaOS |
3 |
|
* |
4 |
< |
* Basilisk II (C) 1997-2000 Christian Bauer |
4 |
> |
* Basilisk II (C) 1997-2001 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 |
27 |
|
#include <stdio.h> |
28 |
|
#include <stdlib.h> |
29 |
|
#include <string.h> |
30 |
+ |
#include <time.h> |
31 |
|
|
32 |
|
#include "user_strings_amiga.h" |
33 |
|
|
62 |
|
// Time data type for Time Manager emulation |
63 |
|
typedef struct timeval tm_time_t; |
64 |
|
|
64 |
– |
// Offset Mac->AmigaOS time in seconds |
65 |
– |
#define TIME_OFFSET 0x8b31ef80 |
66 |
– |
|
65 |
|
// Endianess conversion (not needed) |
66 |
|
#define ntohs(x) (x) |
67 |
|
#define ntohl(x) (x) |