From d2fbcb3bc8c4dea82138c6d636e87d6fe3558604 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sat, 1 Apr 2006 22:29:20 +0000 Subject: #define [U]INT32_{MIN,MAX} if missing Originally committed as revision 5261 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/common.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libavutil/common.h') diff --git a/libavutil/common.h b/libavutil/common.h index b2590c93a9..d8f2c40ade 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -140,6 +140,18 @@ #define INT16_MAX 0x7fff #endif +#ifndef INT32_MIN +#define INT32_MIN (-0x7fffffff-1) +#endif + +#ifndef INT32_MAX +#define INT32_MAX 0x7fffffff +#endif + +#ifndef UINT32_MAX +#define UINT32_MAX 0xffffffff +#endif + #ifndef INT64_MIN #define INT64_MIN (-0x7fffffffffffffffLL-1) #endif -- cgit v1.2.3