Re: [AD] allegro doesn't seem to be 64 bit clean. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> How about wrapping all that in autoconf stuff? Something like this:
>
> - Create AL_CHECK_INTPTR_T autoconf macro that checks how to best
> determine the type, either by using intptr_t if inttypes.h is
> available or by setting it directly to whatever integer type
> is needed.
>
> - Introduce AL_INTPTR_T (either define or typedef) and use that in
> the code.
Frankly, this would unnecessarily makes the code less readable. Allegro
already uses extensively the conversion pointer<-->long so I think we'd
better keep consistent in this matter.
--
Eric Botcazou