Re: [AD] 4.3.1 msvc 6 patches |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2007-05-05, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> Attached are three patches to fix Allegro 4.3.1 for MSVC6.
Committed, thanks.
> 3) wkeybdnu.c.diff:
>
> Changes the LL suffix to a (LONG_LONG) cast.
>
> It might be useful instead to create a macro like LL(number) that
> would look like one of:
>
> #define LL(a) (a##LL)
>
> #define LL(a) ((LONG_LONG) a)
>
> depending on the platform's support. Obviously it'd only be intended
> for numeric literals.
I'm not sure why L and LL suffixes are needed at all.
Peter