1 |
|
/* |
2 |
|
* timer_beos.cpp - Time Manager emulation, BeOS specific stuff |
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 |
44 |
|
* Return local date/time in Mac format (seconds since 1.1.1904) |
45 |
|
*/ |
46 |
|
|
47 |
– |
const uint32 TIME_OFFSET = 0x7c25b080; // Offset Mac->BeOS time in seconds |
48 |
– |
|
47 |
|
uint32 TimerDateTime(void) |
48 |
|
{ |
49 |
|
time_t utc_now = time(NULL); |