PDA

View Full Version : mmSystem in fpc for MacOS



wagenheimer
19-01-2009, 12:58 AM
Does FPC for MacOS have something similar to mmSystem.pas unit?

It does not come in the default installer... but I need to use funcitons like QueryPerformanceFrequency and QueryPerformanceCounter... Does exists some alternative to use with FPC in MacOS?

Thanks!

XProger
19-01-2009, 02:35 AM
Microseconds(value) from MacOSAll.pas

procedure Microseconds(var microTickCount: UnsignedWide); external name '_Microseconds';