On Fri, Apr 22, 2022 at 12:28:06PM +0200, Kornel Benko wrote:
> Am Thu, 21 Apr 2022 15:38:23 +0200
> schrieb Pavel Sanda <sa...@lyx.org>:
> 
> > On Thu, Apr 21, 2022 at 02:53:37PM +0200, Jean-Marc Lasgouttes wrote:
> > > Do you have a better idea?  
> > 
> > long long ?
> > Pavel
> 
> Ok, is the attached working for you?

It compiles, I did not try to run (i.e. check whether literal 1L is correct).

> +// Make sure at compile time that sizeof(unsigned long long) >= 8
> +typedef char p__LINE__[ (sizeof(unsigned long long) > 7) ? 1 : -1];

long long is supposed to be able to represent values between -(2^63 -1) to 2^63 
-1
so I do not think this check is necessary.

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to