diff options
author | Måns Rullgård <mans@mansr.com> | 2006-12-06 23:46:11 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-12-06 23:46:11 +0000 |
commit | 8da9266ceaeb233a757d5ad8772bdf93601eec33 (patch) | |
tree | a549b588fbd30273b27aa1f7a4857f010f36a323 /libavutil | |
parent | cd107896911a1a2359b29f8041458a192631292f (diff) | |
download | ffmpeg-8da9266ceaeb233a757d5ad8772bdf93601eec33.tar.gz |
use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/common.h | 6 | ||||
-rw-r--r-- | libavutil/internal.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 30cc30e7bb..65573f0998 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -53,9 +53,9 @@ # include <inttypes.h> -#ifndef int64_t_C -#define int64_t_C(c) (c ## LL) -#define uint64_t_C(c) (c ## ULL) +#ifndef INT64_C +#define INT64_C(c) (c ## LL) +#define UINT64_C(c) (c ## ULL) #endif #if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV) diff --git a/libavutil/internal.h b/libavutil/internal.h index bf7d0ebca3..b9299bf05c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -107,11 +107,11 @@ #endif #ifndef INT64_MAX -#define INT64_MAX int64_t_C(9223372036854775807) +#define INT64_MAX INT64_C(9223372036854775807) #endif #ifndef UINT64_MAX -#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF) +#define UINT64_MAX UINT64_C(0xFFFFFFFFFFFFFFFF) #endif #ifndef INT_BIT |