SOURCES: amrwb-inttypes.patch (NEW) - use <inttypes.h>

qboosh qboosh at pld-linux.org
Sun Jul 2 00:29:15 CEST 2006


Author: qboosh                       Date: Sat Jul  1 22:29:14 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use <inttypes.h>

---- Files affected:
SOURCES:
   amrwb-inttypes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/amrwb-inttypes.patch
diff -u /dev/null SOURCES/amrwb-inttypes.patch:1.1
--- /dev/null	Sun Jul  2 00:29:14 2006
+++ SOURCES/amrwb-inttypes.patch	Sun Jul  2 00:29:09 2006
@@ -0,0 +1,25 @@
+--- amrwb-6.0.0/typedef.h.orig	2003-08-27 00:00:02.000000000 +0200
++++ amrwb-6.0.0/typedef.h	2006-07-01 23:55:02.246423500 +0200
+@@ -6,13 +6,15 @@
+ #ifndef typedef_h
+ #define typedef_h
+ 
++#include <inttypes.h>
++
+ /* change these typedef declarations to correspond with your platform */
+-typedef char Word8;
+-typedef unsigned char UWord8;
+-typedef short Word16;
+-typedef unsigned short UWord16;
+-typedef long Word32;
++typedef int8_t Word8;
++typedef uint8_t UWord8;
++typedef int16_t Word16;
++typedef uint16_t UWord16;
++typedef int32_t Word32;
+ typedef double Float64;
+ typedef float Float32;
+ 
+-#endif
+\ Brak znaku nowej linii na końcu pliku
++#endif
================================================================


More information about the pld-cvs-commit mailing list