diff options
author | AG <contact@grandville.net> | 2015-10-26 22:28:24 +0100 |
---|---|---|
committer | AG <contact@grandville.net> | 2015-10-26 22:28:24 +0100 |
commit | d8378f071e54512f41e076547357f663125bea7f (patch) | |
tree | e16689b8deb30786b430b70cd98b4467871d8106 /lib/common | |
parent | 961d5e1de35644c5c709e719f9023dbbac475f50 (diff) |
min & max are not from std namespace
u_int8_t is unsigned char
strings.h file is missing
errors generated by deprecated functions are now hidden (C4996 warning)
Diffstat (limited to 'lib/common')
-rw-r--r-- | lib/common/BoxPlatform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common/BoxPlatform.h b/lib/common/BoxPlatform.h index 06f34d5c..12d6c3d7 100644 --- a/lib/common/BoxPlatform.h +++ b/lib/common/BoxPlatform.h @@ -109,12 +109,13 @@ #endif #if defined WIN32 && !defined __MINGW32__ - typedef __int8 int8_t; + typedef signed char int8_t; + typedef unsigned char u_int8_t; typedef __int16 int16_t; typedef __int32 int32_t; typedef __int64 int64_t; - typedef unsigned __int8 u_int8_t; + //typedef unsigned __int8 u_int8_t; typedef unsigned __int16 u_int16_t; typedef unsigned __int32 u_int32_t; typedef unsigned __int64 u_int64_t; |