guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: long_long and ulong_long deprecated


From: stefan
Subject: Re: long_long and ulong_long deprecated
Date: Fri, 7 Sep 2001 12:33:53 +0200 (CEST)

On Thu, 6 Sep 2001, Rob Browning wrote:

> stefan <address@hidden> writes:
> 
> > I defined it in my config.cache by hand, because I knew that there
> > is a "long long" replacement (which is __int64). Thus I have a
> > HAVE_LONG_LONG in my <config.h>.
> 
> An alternative would be to put a
> 
>   #ifdef SOMETHING_ONLY_DEFINED_ON_PLATFORMS_YOURE_WORRIED_ABOUT
>     typedef __int64 long long;
>     #define HAVE_LONG_LONG
>   #endif
> 
> somewhere appropriate.

Which compiler can parse this ? I would be happy if any...

My effort was:

#if defined (_MSC_VER) || defined (__BORLANDC__)
typedef __int64 long_long;
typedef unsigned __int64 ulong_long;
#else
typedef long long long_long;
typedef unsigned long long ulong_long;
#endif

That is why I considered the long_long and ulong_long typedef a good
thing. It would solve the problem.

Cheers,
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]