[Ffmpeg-cvslog] CVS: ffmpeg/libavutil common.h,1.156,1.157

François Revol CVS mmu_man
Tue Dec 13 21:24:34 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavutil
In directory mail:/var2/tmp/cvs-serv23559/libavutil

Modified Files:
	common.h 
Log Message:
Add some more PRIfooNN crap so it builds again here. Why can't ppl add defaults when they use such things ?


Index: common.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/common.h,v
retrieving revision 1.156
retrieving revision 1.157
diff -u -d -r1.156 -r1.157
--- common.h	12 Dec 2005 00:48:42 -0000	1.156
+++ common.h	13 Dec 2005 20:24:31 -0000	1.157
@@ -108,8 +108,28 @@
 #   endif /* other OS */
 #endif /* EMULATE_INTTYPES */
 
+#ifndef PRId64
+#define PRId64 "lld"
+#endif
+
 #ifndef PRIu64
-#define PRIu64 "lld"
+#define PRIu64 "llu"
+#endif
+
+#ifndef PRIx64
+#define PRIx64 "llx"
+#endif
+
+#ifndef PRId32
+#define PRId32 "d"
+#endif
+
+#ifndef PRIdFAST16
+#define PRIdFAST16 PRId32
+#endif
+
+#ifndef PRIdFAST32
+#define PRIdFAST32 PRId32
 #endif
 
 #ifndef INT16_MIN





More information about the ffmpeg-cvslog mailing list