Using limits.h

Robert Shearman R.J.Shearman at warwick.ac.uk
Tue Sep 9 13:29:17 CDT 2003


> -----Original Message-----
> From: Alexandre Julliard [mailto:julliard at winehq.com]
> Sent: 09 September 2003 17:36
> To: Robert Shearman
> Cc: wine-devel at winehq.com
> Subject: Re: Using limits.h
>
> Well, long long itself is not very portable, and long long constants
> definitely aren't. What do you need this for?

I am using it for invalid values for time properties in DirectShow. I
thought LONG_LONG_MAX would be the easiest way to indicate that the time is
invalid and hence has not been set yet, without making it a pointer and
without having to use an additional flag.

I think I will end up using a variation of David's solution.

Rob





More information about the wine-devel mailing list