Re: [AD] Allegro on 64-bit platforms

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Angelo Mottola wrote:

> Why not going even further and replace all base types with typedef'ed 
> ones? We could add typedefs like
> 
> (u)int8
> (u)int16
> (u)int32
> (u)int64

If you want to do that, you might as well #include <stdint.h> and
provide a custom copy for silly compilers that don't have it. I'm in
favor of using any existing standard above defining yet another
set. Users are likely to (be forced to) copy allegro's typing in some
cases, if they want portable programs. I think it's well worth trying
to use standard types, either the variable ones like int, or ones that
have been defined by posix or something similar.

Eric, about posix for LARGEFILE64, can't we do something similar for
MSVC and just provide a replacement header when it doesn't know about
POSIX? I imagine there's some free header file for this stuff lying
around somewhere, that we can safely put in allegro.

Hein Zelle

>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-< 
 Unix is user friendly. It's just very particular about who 
 it's friends are.

 Hein Zelle                     hein@xxxxxxxxxx
	                        http://www.icce.rug.nl/~hein
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/