changeset 2112:aba68a44e2ee libavcodec

10l
author michael
date Thu, 01 Jul 2004 12:33:07 +0000
parents 3c1dba53954e
children 07a663d46be2
files common.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Wed Jun 30 23:12:21 2004 +0000
+++ b/common.h	Thu Jul 01 12:33:07 2004 +0000
@@ -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 @@
 #endif
 
 #ifndef INT_BIT
-#    if INT_MAX == INT64_MAX
+#    if INT_MAX != 2147483647
 #        define INT_BIT 64
 #    else
 #        define INT_BIT 32