summaryrefslogtreecommitdiff
path: root/apps/codecs/libmad/fixed.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libmad/fixed.h')
-rw-r--r--apps/codecs/libmad/fixed.h13
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>
26typedef signed int mad_fixed_t;
27 26
28typedef signed int mad_fixed64hi_t; 27typedef int32_t mad_fixed_t;
29typedef unsigned int mad_fixed64lo_t;
30# else
31typedef signed long mad_fixed_t;
32 28
33typedef signed long mad_fixed64hi_t; 29typedef int32_t mad_fixed64hi_t;
34typedef unsigned long mad_fixed64lo_t; 30typedef 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