# HG changeset patch # User rubidium # Date 2010-02-20 22:58:25 # Node ID 1fd296dfcddc4f7e8c14192268bade942711ce6f # Parent caf89240e11992597c8d49ec860fadf4e16cdd16 (svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC. diff --git a/src/stdafx.h b/src/stdafx.h --- 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