changeset 33:59ae491910a5 libavutil

#define [U]INT32_{MIN,MAX} if missing
author mru
date Sat, 01 Apr 2006 22:29:20 +0000
parents b6594d61c8b2
children dedc1568e2cf
files common.h
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Thu Mar 30 16:24:38 2006 +0000
+++ b/common.h	Sat Apr 01 22:29:20 2006 +0000
@@ -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