Mercurial > hg
comparison mercurial/parsers.c @ 7122:3cf699e89e48
Fix missing uint64_t definition in parsers.c under Windows
author | Dhruva Krishnamurthy <dhruvakm@gmail.com> |
---|---|
date | Sat, 18 Oct 2008 14:43:20 +0200 |
parents | 1ca878d7b849 |
children | 06ca03380190 |
comparison
equal
deleted
inserted
replaced
7121:b801d6e5dc83 | 7122:3cf699e89e48 |
---|---|
135 #ifdef _WIN32 | 135 #ifdef _WIN32 |
136 # ifdef _MSC_VER | 136 # ifdef _MSC_VER |
137 /* msvc 6.0 has problems */ | 137 /* msvc 6.0 has problems */ |
138 # define inline __inline | 138 # define inline __inline |
139 typedef unsigned long uint32_t; | 139 typedef unsigned long uint32_t; |
140 typedef unsigned __int64 uint64_t; | |
140 # else | 141 # else |
141 # include <stdint.h> | 142 # include <stdint.h> |
142 # endif | 143 # endif |
143 static uint32_t ntohl(uint32_t x) | 144 static uint32_t ntohl(uint32_t x) |
144 { | 145 { |