Re: Euphoria 3.0.2 Release Candidate for Linux

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> As a test, I tried:
> 
> #include <time.h>
> 
> main()
> {
>         printf("CLK_TCK %d\n", CLK_TCK);
>         printf("CLOCKS_PER_SEC %d\n", CLOCKS_PER_SEC);
> }
> 
> On my Linux machine, I get:
>   CLK_TCK 100
>   CLOCKS_PER_SEC 1000000
> 
> On FreeBSD, I get:
>   CLK_TCK 128
>   CLOCKS_PER_SEC 128
> 
> I'm reluctant to mess with this right now (in the middle of a release).
> Maybe by the next release we'll figure out what to do here.

OK, I see that Matt has addressed that issue as well in global.h
If CLK_TCK is not defined on your system, 
he defines it as CLOCKS_PER_SEC. That looks like a
reasonable fix.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu