- portable int types defs (in general long != 32 bit word).
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 15 Jan 2006 20:46:56 +0000 (20:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amrnb-inttypes.patch -> 1.1

amrnb-inttypes.patch [new file with mode: 0644]

diff --git a/amrnb-inttypes.patch b/amrnb-inttypes.patch
new file mode 100644 (file)
index 0000000..ef34bc9
--- /dev/null
@@ -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 @@
\r
+ #ifndef _TYPEDEF_H\r
+ #define _TYPEDEF_H\r
+-\r
+-typedef char Word8;\r
+-typedef unsigned char UWord8;\r
+-typedef short Word16;\r
+-typedef long Word32;\r
++
++#include <inttypes.h>
++
++typedef int8_t Word8;
++typedef uint8_t UWord8;
++typedef int16_t Word16;
++typedef int32_t Word32;
+ typedef float Float32;\r
+ typedef double Float64;\r
\r
This page took 0.057989 seconds and 4 git commands to generate.