summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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