diff options
Diffstat (limited to 'apps/codecs/libmad/fixed.h')
-rw-r--r-- | apps/codecs/libmad/fixed.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/codecs/libmad/fixed.h b/apps/codecs/libmad/fixed.h index 9d181a0c4e..7e580c4e8f 100644 --- a/apps/codecs/libmad/fixed.h +++ b/apps/codecs/libmad/fixed.h | |||
@@ -22,17 +22,12 @@ | |||
22 | # ifndef LIBMAD_FIXED_H | 22 | # ifndef LIBMAD_FIXED_H |
23 | # define LIBMAD_FIXED_H | 23 | # define LIBMAD_FIXED_H |
24 | 24 | ||
25 | # if SIZEOF_INT >= 4 | 25 | #include <inttypes.h> |
26 | typedef signed int mad_fixed_t; | ||
27 | 26 | ||
28 | typedef signed int mad_fixed64hi_t; | 27 | typedef int32_t mad_fixed_t; |
29 | typedef unsigned int mad_fixed64lo_t; | ||
30 | # else | ||
31 | typedef signed long mad_fixed_t; | ||
32 | 28 | ||
33 | typedef signed long mad_fixed64hi_t; | 29 | typedef int32_t mad_fixed64hi_t; |
34 | typedef unsigned long mad_fixed64lo_t; | 30 | typedef uint32_t mad_fixed64lo_t; |
35 | # endif | ||
36 | 31 | ||
37 | # if defined(_MSC_VER) | 32 | # if defined(_MSC_VER) |
38 | # define mad_fixed64_t signed __int64 | 33 | # define mad_fixed64_t signed __int64 |