changeset 11:b5bd7d00de0f libavutil

Add some more PRIfooNN crap so it builds again here. Why can't ppl add defaults when they use such things ?
author mmu_man
date Tue, 13 Dec 2005 20:24:31 +0000
parents a5445a31a24f
children ce8f9f4390c3
files common.h
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Mon Dec 12 00:48:42 2005 +0000
+++ b/common.h	Tue Dec 13 20:24:31 2005 +0000
@@ -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