From d2fbcb3bc8c4dea82138c6d636e87d6fe3558604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 1 Apr 2006 22:29:20 +0000 Subject: [PATCH] #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(+) 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