changeset 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 2865f759882a
children f9f257b41ec2
files common.h
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Sun Oct 24 02:59:36 2004 +0000
+++ b/common.h	Sun Oct 24 13:20:32 2004 +0000
@@ -112,6 +112,18 @@
 #   endif /* other OS */
 #endif /* HAVE_INTTYPES_H */
 
+#ifndef INT16_MIN
+#define INT16_MIN       (-0x7fff-1)
+#endif
+
+#ifndef INT16_MAX
+#define INT16_MAX       0x7fff
+#endif
+
+#ifndef INT64_MIN
+#define INT64_MIN       (-0x7fffffffffffffffLL-1)
+#endif
+
 #ifndef INT64_MAX
 #define INT64_MAX int64_t_C(9223372036854775807)
 #endif