Hey all, I also added <time.h> on my side, in an #ifdef, since it's somehow
already included nix side :)
That said, why not simply assign 0 to the two time_t rather than a function
call ?
Then, it's only a matter of dealing with difftime.

Don't we already have time (and timing ?) abstracted facilities though SG ?
Shouldn't we first use that, or add the necessary abstracted functionality
there ?

Also, if we have two consistent time_t, why not simply subtract one from the
other, ABS it, and voila you have the time difference ? Or am I missing
something regarding usage of difftime ?

Cheers,
Nic


On Wed, Oct 7, 2009 at 5:39 AM, James Turner <zakal...@mac.com> wrote:

>
> On 7 Oct 2009, at 10:32, Alan Teeder wrote:
>
> James
>
> The “this” fault is fixed. Thanks.
> To cure the time and difftime under Windows all that is needed is to
> include <time.h>
>
>
> That's what I'd hoped, thanks for confirming. I would still prefer to use
> something more robust than the C-library functions, so I'm investigating
> that, but obviously it's more important to get Windows building again.
>
> Regards,
> James
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>


-- 
Be Kind.
Remember, everyone is fighting a hard battle.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to