SOURCES: amrnb-inttypes.patch (NEW) - portable int types defs (in ...
pluto
pluto at pld-linux.org
Sun Jan 15 21:47:01 CET 2006
Author: pluto Date: Sun Jan 15 20:47:01 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- portable int types defs (in general long != 32 bit word).
---- Files affected:
SOURCES:
amrnb-inttypes.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/amrnb-inttypes.patch
diff -u /dev/null SOURCES/amrnb-inttypes.patch:1.1
--- /dev/null Sun Jan 15 21:47:01 2006
+++ SOURCES/amrnb-inttypes.patch Sun Jan 15 21:46:56 2006
@@ -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 <inttypes.h>
++
++typedef int8_t Word8;
++typedef uint8_t UWord8;
++typedef int16_t Word16;
++typedef int32_t Word32;
+ typedef float Float32;
+ typedef double Float64;
+
================================================================
More information about the pld-cvs-commit
mailing list