PDA

View Full Version : mmSystem in fpc for MacOS



wagenheimer
18-01-2009, 11:58 PM
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, 01:35 AM
Microseconds(value) from MacOSAll.pas

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