> -----Original Message----- > From: Alexandre Julliard [mailto:[EMAIL PROTECTED] > Sent: 09 September 2003 17:36 > To: Robert Shearman > Cc: [EMAIL PROTECTED] > 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