* remove Windows use

git-svn-id: trunk@2639 -
This commit is contained in:
peter 2006-02-20 06:53:12 +00:00
parent 2c10e841b9
commit 3d0a4da8ff

View File

@ -1,10 +1,10 @@
program Bench2;
{$APPTYPE CONSOLE}
{$Mode Objfpc}
{$H+}
uses
sysutils,
Windows;
sysutils;
const
cTimes = 999999;
@ -21,6 +21,16 @@ const
'zero', 'ten', 'twenty', 'thirty', 'fourty', 'fifty',
'sixty', 'seventy', 'eighty', 'ninety');
function GetTickCount : Cardinal;
var
h,m,s,s1000 : word;
begin
decodetime(time,h,m,s,s1000);
result:=h*3600000+m*60000+s*1000+s1000;
end;
var
StartTick: Cardinal;