From 86f77a493a629bc9a646cb6cbdb874674f7bbeb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 13 Dec 2005 20:24:31 +0000 Subject: [PATCH] Add some more PRIfooNN crap so it builds again here. Why can't ppl add defaults when they use such things ? Originally committed as revision 4741 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/libavutil/common.h b/libavutil/common.h index 20cabaf5b5..5b2729cf9b 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -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