summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2005-12-05 23:14:55 +0000
committerFrançois Revol <revol@free.fr>2005-12-05 23:14:55 +0000
commite684b35d62b478d0a27baf47b2a47dd7b8742387 (patch)
tree3c36b1b5ee64c398ba2fc27dbee8bb7055cc9e20 /libavutil/common.h
parent6f72dcf7e7cdafe23a1628297d46c4af97d49676 (diff)
fix for systems not defining PRIu64, not everyone knows C99.
Originally committed as revision 4721 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h4
1 files changed, 4 insertions, 0 deletions
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