summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-01 12:33:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-01 12:33:07 +0000
commit9ff18a70895e246148980d5b7450ed0f22d3717c (patch)
tree6690616e68857c013efaca8d44ff4dedd177007d
parentda1da890441595da69df733dad7eb54a400aa21a (diff)
10l
Originally committed as revision 3282 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h
index ff7e016984..22947916d9 100644
--- a/libavcodec/common.h
+++ b/libavcodec/common.h
@@ -30,6 +30,7 @@
# include <stdio.h>
# include <string.h>
# include <ctype.h>
+# include <limits.h>
# ifndef __BEOS__
# include <errno.h>
# else
@@ -130,7 +131,7 @@ typedef unsigned int uint_fast32_t;
#endif
#ifndef INT_BIT
-# if INT_MAX == INT64_MAX
+# if INT_MAX != 2147483647
# define INT_BIT 64
# else
# define INT_BIT 32