changeset 156:69e5b350225c libavutil

use the standard INT64_C() macro for 64-bit constants
author mru
date Wed, 06 Dec 2006 23:46:11 +0000
parents 5d849a1c0d4d
children d96dae9bdcaa
files common.h internal.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Wed Dec 06 23:23:20 2006 +0000
+++ b/common.h	Wed Dec 06 23:46:11 2006 +0000
@@ -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)
--- a/internal.h	Wed Dec 06 23:23:20 2006 +0000
+++ b/internal.h	Wed Dec 06 23:46:11 2006 +0000
@@ -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