Mercurial > libavutil.hg
comparison common.h @ 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 |
comparison
equal
deleted
inserted
replaced
155:5d849a1c0d4d | 156:69e5b350225c |
---|---|
51 #endif | 51 #endif |
52 #endif | 52 #endif |
53 | 53 |
54 # include <inttypes.h> | 54 # include <inttypes.h> |
55 | 55 |
56 #ifndef int64_t_C | 56 #ifndef INT64_C |
57 #define int64_t_C(c) (c ## LL) | 57 #define INT64_C(c) (c ## LL) |
58 #define uint64_t_C(c) (c ## ULL) | 58 #define UINT64_C(c) (c ## ULL) |
59 #endif | 59 #endif |
60 | 60 |
61 #if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV) | 61 #if defined(__MINGW32__) && !defined(BUILD_AVUTIL) && defined(BUILD_SHARED_AV) |
62 # define FF_IMPORT_ATTR __declspec(dllimport) | 62 # define FF_IMPORT_ATTR __declspec(dllimport) |
63 #else | 63 #else |