comparison common.h @ 2318:1925d732ea42 libavcodec

INT MIN/MAX patch by (Bohdan Horst <nexus at irc dot pl>)
author michael
date Sun, 24 Oct 2004 13:20:32 +0000
parents 15cfba1b97b5
children 26560d4fdb1f
comparison
equal deleted inserted replaced
2317:2865f759882a 2318:1925d732ea42
109 # else /* other OS */ 109 # else /* other OS */
110 typedef signed long long int64_t; 110 typedef signed long long int64_t;
111 typedef unsigned long long uint64_t; 111 typedef unsigned long long uint64_t;
112 # endif /* other OS */ 112 # endif /* other OS */
113 #endif /* HAVE_INTTYPES_H */ 113 #endif /* HAVE_INTTYPES_H */
114
115 #ifndef INT16_MIN
116 #define INT16_MIN (-0x7fff-1)
117 #endif
118
119 #ifndef INT16_MAX
120 #define INT16_MAX 0x7fff
121 #endif
122
123 #ifndef INT64_MIN
124 #define INT64_MIN (-0x7fffffffffffffffLL-1)
125 #endif
114 126
115 #ifndef INT64_MAX 127 #ifndef INT64_MAX
116 #define INT64_MAX int64_t_C(9223372036854775807) 128 #define INT64_MAX int64_t_C(9223372036854775807)
117 #endif 129 #endif
118 130