comparison mercurial/bdiff.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 934279f3ca53
children e94cebc60d96
comparison
equal deleted inserted replaced
485:c5705ab9cebd 486:098d1f039c18
10 */ 10 */
11 11
12 #include <Python.h> 12 #include <Python.h>
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15 #include <stdint.h>
16 #ifdef _WIN32 15 #ifdef _WIN32
17 static uint32_t htonl(uint32_t x) 16 static uint32_t htonl(uint32_t x)
18 { 17 {
19 return ((x & 0x000000ffUL) << 24) | 18 return ((x & 0x000000ffUL) << 24) |
20 ((x & 0x0000ff00UL) << 8) | 19 ((x & 0x0000ff00UL) << 8) |