# HG changeset patch # User Wei, Elson # Date 1379037283 -28800 # Node ID 7999f4fa155a30e9c7a28fe775d1d7a75c7711a0 # Parent bf15935b68a3c41693807ce14059a85df953bded util.h: add stdint basic type definitions MS C compiler v15 doesn't have stdint.h. Add basic int types those are defined in stdint.h. diff -r bf15935b68a3 -r 7999f4fa155a mercurial/util.h --- a/mercurial/util.h Fri Sep 06 13:30:56 2013 +0400 +++ b/mercurial/util.h Fri Sep 13 09:54:43 2013 +0800 @@ -121,7 +121,12 @@ #ifdef _MSC_VER /* msvc 6.0 has problems */ #define inline __inline +typedef signed char int8_t; +typedef short int16_t; +typedef long int32_t; +typedef __int64 int64_t; typedef unsigned char uint8_t; +typedef unsigned short uint16_t; typedef unsigned long uint32_t; typedef unsigned __int64 uint64_t; #else