[Scummvm-devel] <inttypes.h>

Torbjorn.E.Andersson at tietoenator.com Torbjorn.E.Andersson at tietoenator.com
Tue Sep 28 04:58:40 CEST 2004


Max Horn <max at quendi.de> wrote:

> Only the types from scummsys.h shall be used by our code.

As far as I know that's already the case. The only reason I'm aware of for
including inttypes.h at all is because mpeg2dec/mpeg2.h needs some (all?) of
int8_t, int16_t, int32_t, uint8_t, uint16_t and uint32_t. And we already
have a workaround for that in the _MSC_VER case. (Perhaps we should use that
workaround in all cases? Aren't our data types pretty much guaranteed to
be of the correct sizes?)

I have no idea why the inclusion is outside the #ifdef USE_MPEG2 ... #endif
block. Probably no good reason at all.

Torbjörn

-- 
TietoEnator Resource Management AB
Persona
Torbjörn Andersson
http://www.rm.tietoenator.com/
 




More information about the Scummvm-devel mailing list