diff common.h @ 2093:82816cad0e29 libavcodec

optimization
author michael
date Fri, 25 Jun 2004 14:11:44 +0000
parents f8ef6f664234
children 6681dcffb5cf
line wrap: on
line diff
--- a/common.h	Thu Jun 24 22:13:44 2004 +0000
+++ b/common.h	Fri Jun 25 14:11:44 2004 +0000
@@ -129,6 +129,14 @@
 typedef unsigned int  uint_fast32_t;
 #endif
 
+#ifndef INT_BIT
+#    if INT_MAX == INT64_MAX
+#        define INT_BIT 64
+#    else
+#        define INT_BIT 32
+#    endif
+#endif
+
 #if defined(CONFIG_OS2) || defined(CONFIG_SUNOS)
 static inline float floorf(float f) { 
     return floor(f);