[Ffmpeg-devel] [PATCH] Remove PRI macros definition
Måns Rullgård
mans
Sat Feb 24 20:09:53 CET 2007
ramiro at lisha.ufsc.br writes:
> Hello,
>
> Attached patch removes defining PRI macros to some random value (based on
> gcc) that may or may not work...
>
> Ramiro Polla
>
> Index: libavutil/internal.h
> ===================================================================
> --- libavutil/internal.h (revision 8117)
> +++ libavutil/internal.h (working copy)
> @@ -46,34 +46,6 @@
> #define M_PI 3.14159265358979323846
> #endif
>
> -#ifndef PRId64
> -#define PRId64 "lld"
> -#endif
> -
> -#ifndef PRIu64
> -#define PRIu64 "llu"
> -#endif
> -
> -#ifndef PRIx64
> -#define PRIx64 "llx"
> -#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
> #define INT16_MIN (-0x7fff-1)
> #endif
OK with me.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list