From e684b35d62b478d0a27baf47b2a47dd7b8742387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 5 Dec 2005 23:14:55 +0000 Subject: [PATCH] fix for systems not defining PRIu64, not everyone knows C99. Originally committed as revision 4721 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/common.h b/libavutil/common.h index e4e6dfa7d7..a1c5927a22 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -104,6 +104,10 @@ # endif /* other OS */ #endif /* EMULATE_INTTYPES */ +#ifndef PRIu64 +#define PRIu64 "lld" +#endif + #ifndef INT16_MIN #define INT16_MIN (-0x7fff-1) #endif