Mercurial > libavcodec.hg
comparison common.h @ 2759:3dc4bfdda4b3 libavcodec
uint_fast64_t emulation by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
author | michael |
---|---|
date | Tue, 07 Jun 2005 14:12:15 +0000 |
parents | 41ae70d266fd |
children |
comparison
equal
deleted
inserted
replaced
2758:a7925aaeea1e | 2759:3dc4bfdda4b3 |
---|---|
123 #ifndef UINT64_MAX | 123 #ifndef UINT64_MAX |
124 #define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF) | 124 #define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF) |
125 #endif | 125 #endif |
126 | 126 |
127 #ifdef EMULATE_FAST_INT | 127 #ifdef EMULATE_FAST_INT |
128 /* note that we don't emulate 64bit ints */ | |
129 typedef signed char int_fast8_t; | 128 typedef signed char int_fast8_t; |
130 typedef signed int int_fast16_t; | 129 typedef signed int int_fast16_t; |
131 typedef signed int int_fast32_t; | 130 typedef signed int int_fast32_t; |
132 typedef unsigned char uint_fast8_t; | 131 typedef unsigned char uint_fast8_t; |
133 typedef unsigned int uint_fast16_t; | 132 typedef unsigned int uint_fast16_t; |
134 typedef unsigned int uint_fast32_t; | 133 typedef unsigned int uint_fast32_t; |
134 typedef uint64_t uint_fast64_t; | |
135 #endif | 135 #endif |
136 | 136 |
137 #ifndef INT_BIT | 137 #ifndef INT_BIT |
138 # if INT_MAX != 2147483647 | 138 # if INT_MAX != 2147483647 |
139 # define INT_BIT 64 | 139 # define INT_BIT 64 |