summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2005-12-13 20:24:31 +0000
committerFrançois Revol <revol@free.fr>2005-12-13 20:24:31 +0000
commit86f77a493a629bc9a646cb6cbdb874674f7bbeb4 (patch)
tree2c5c711164f718b62d14dd973ff621b58ecafb56 /libavutil/common.h
parent4733abcbf30fb662785d0c4ad3a0601e749dc57d (diff)
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
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h22
1 files changed, 21 insertions, 1 deletions
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