From e2adecd9279dfd328211fa61f0f15dbaee6bc603 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 20 Feb 2010 22:58:25 +0000 Subject: (svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC. --- src/stdafx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stdafx.h') diff --git a/src/stdafx.h b/src/stdafx.h index 38d09b547..4ea5ddc58 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -51,6 +51,9 @@ #define UINT16_MAX (65535U) #define INT16_MAX (32767) #define INT16_MIN (-INT16_MAX - 1) + #define UINT8_MAX (255) + #define INT8_MAX (127) + #define INT8_MIN (-INT8_MAX - 1) #endif #include -- cgit v1.2.3-54-g00ecf