fix for systems not defining PRIu64, not everyone knows C99.
authorFrançois Revol <revol@free.fr>
Mon, 5 Dec 2005 23:14:55 +0000 (23:14 +0000)
committerFrançois Revol <revol@free.fr>
Mon, 5 Dec 2005 23:14:55 +0000 (23:14 +0000)
Originally committed as revision 4721 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h

index e4e6dfa7d7f6b285339203256cbd0a6d497189c0..a1c5927a229e3b73334282bd2f6ff3f6022a4cd6 100644 (file)
 #   endif /* other OS */
 #endif /* EMULATE_INTTYPES */
 
+#ifndef PRIu64
+#define PRIu64 "lld"
+#endif
+
 #ifndef INT16_MIN
 #define INT16_MIN       (-0x7fff-1)
 #endif