Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/mpatch.c @ 486:098d1f039c18
Remove stdint.h from mpatch and bdiff
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Remove stdint.h from mpatch and bdiff
It's only there for ntohl and htonl and should be pulled in by in.h.
manifest hash: 65954290279241ac92c9ce04c21cf1a3c9dd54e0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwD8KywK+sNU5EO8RAhv2AJ40R/T72XK63IbeEFqMLSRJbRJWdACcDa9r
dOL9XpyYxR09REbAHw0JrlE=
=8wkZ
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Mon, 27 Jun 2005 10:01:46 -0800 |
parents | aa3d592df9b9 |
children | e94cebc60d96 |
comparison
equal
deleted
inserted
replaced
485:c5705ab9cebd | 486:098d1f039c18 |
---|---|
21 */ | 21 */ |
22 | 22 |
23 #include <Python.h> | 23 #include <Python.h> |
24 #include <stdlib.h> | 24 #include <stdlib.h> |
25 #include <string.h> | 25 #include <string.h> |
26 #include <stdint.h> | |
27 #ifdef _WIN32 | 26 #ifdef _WIN32 |
28 static uint32_t ntohl(uint32_t x) | 27 static uint32_t ntohl(uint32_t x) |
29 { | 28 { |
30 return ((x & 0x000000ffUL) << 24) | | 29 return ((x & 0x000000ffUL) << 24) | |
31 ((x & 0x0000ff00UL) << 8) | | 30 ((x & 0x0000ff00UL) << 8) | |