[Scummvm-devel] <inttypes.h>
Torbjorn.E.Andersson at tietoenator.com
Torbjorn.E.Andersson at tietoenator.com
Thu Sep 16 23:33:11 CEST 2004
Marcus Comstedt <marcus at mc.pp.se> wrote:
> What's the deal with the dependency on <inttypes.h> in graphics/animation.h?
> All integer types we need (and use) are defined in common/scummsys.h, are
> they not? This include (and the alternate set of typedefs for "MSC")
> seems completely redundant...
As far as I know, the only reason for it is to be able to include
mpeg2dec/mpeg2.h. So at the very least, the whole inttypes.h thing could
probably be moved inside the #ifdef USE_MPEG2 ... #endif block.
If there's a more standardized way of getting those data types defined, as
Nicolas suggests, then I think we should use that instead.
Torbjörn Andersson
--
TietoEnator Resource Management AB
Persona
Torbjörn Andersson
http://www.rm.tietoenator.com/
More information about the Scummvm-devel
mailing list