From: Michael S. <msb...@me...> - 2009-08-19 05:03:38
|
I think I see the problem: timer_unix.cpp is including <mach/mach_host.h>, but it should be <mach/ mach.h>. mach_current_time() is actually defined in mach_init.h. On Leopard mach_host.h includes mach_init.h. On Tiger it does not. On Aug 18, 2009, at 9:53 PM, Michael Schmitt wrote: > We've got a build problem: > > Using current CVS, including your timer changes, I can build on OS X > 10.5 successfully. > > But if I build with OS X 10.4 as the deployment target (e.g. using > the 10.4 SDK) then it fails: > > timer_unix.cpp: In function ‘void mach_current_time(tm_time_t&)’: > timer_unix.cpp:44: error: ‘mach_host_self’ was not declared in this > scope > > > > On Aug 17, 2009, at 2:29 PM, Charles Srstka wrote: > >> Attached is a set of patches to port the precise timer that is >> currently used in the Linux and BeOS builds of SheepShaver to Mac >> OS X (and any other Mach-based operating systems). > |