diff options
author | François Revol <revol@free.fr> | 2005-12-13 20:24:31 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2005-12-13 20:24:31 +0000 |
commit | 86f77a493a629bc9a646cb6cbdb874674f7bbeb4 (patch) | |
tree | 2c5c711164f718b62d14dd973ff621b58ecafb56 | |
parent | 4733abcbf30fb662785d0c4ad3a0601e749dc57d (diff) | |
download | ffmpeg-86f77a493a629bc9a646cb6cbdb874674f7bbeb4.tar.gz |
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
-rw-r--r-- | libavutil/common.h | 22 |
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 |