From: Paweł Sikora Date: Sun, 15 Jan 2006 20:46:56 +0000 (+0000) Subject: - portable int types defs (in general long != 32 bit word). X-Git-Tag: auto/ac/amrnb-0_0_1-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Famrnb.git;a=commitdiff_plain;h=7777b28e9eef8fcd8b895af5434eeb86c64ff36a - portable int types defs (in general long != 32 bit word). Changed files: amrnb-inttypes.patch -> 1.1 --- diff --git a/amrnb-inttypes.patch b/amrnb-inttypes.patch new file mode 100644 index 0000000..ef34bc9 --- /dev/null +++ b/amrnb-inttypes.patch @@ -0,0 +1,21 @@ +--- amrnb-0.0.1/typedef.h.orig 2004-03-05 00:00:02.000000000 +0100 ++++ amrnb-0.0.1/typedef.h 2006-01-15 21:42:16.420609000 +0100 +@@ -11,11 +11,13 @@ + + #ifndef _TYPEDEF_H + #define _TYPEDEF_H +- +-typedef char Word8; +-typedef unsigned char UWord8; +-typedef short Word16; +-typedef long Word32; ++ ++#include ++ ++typedef int8_t Word8; ++typedef uint8_t UWord8; ++typedef int16_t Word16; ++typedef int32_t Word32; + typedef float Float32; + typedef double Float64; +