clean up inttypes.h and int_fastxx_t types detection

Originally committed as revision 7050 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2006-11-14 04:02:58 +00:00
parent 2e1913b193
commit 81dc56e76e
2 changed files with 8 additions and 12 deletions

View File

@@ -84,7 +84,7 @@
#endif
#endif
#ifndef EMULATE_INTTYPES
#ifdef HAVE_INTTYPES
# include <inttypes.h>
#else
typedef signed char int8_t;
@@ -95,7 +95,7 @@
typedef unsigned int uint32_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
#endif /* EMULATE_INTTYPES */
#endif /* HAVE_INTTYPES */
#ifndef PRId64
#define PRId64 "lld"
@@ -157,7 +157,7 @@
#define UINT64_MAX uint64_t_C(0xFFFFFFFFFFFFFFFF)
#endif
#ifdef EMULATE_FAST_INT
#ifndef HAVE_FAST_INT
typedef signed char int_fast8_t;
typedef signed int int_fast16_t;
typedef signed int int_fast32_t;