mercurial/bdiff.c
changeset 551 b460a2fd8bb7
parent 510 7f3fc8fd427e
child 553 f2442a6a5893
--- a/mercurial/bdiff.c	Thu Jun 30 23:51:25 2005 -0800
+++ b/mercurial/bdiff.c	Thu Jun 30 23:54:17 2005 -0800
@@ -13,7 +13,12 @@
 #include <stdlib.h>
 #include <string.h>
 #ifdef _WIN32
+#ifdef _MSC_VER
+#define inline __inline
+typedef unsigned long uint32_t;
+#else
 #include <stdint.h>
+#endif
 static uint32_t htonl(uint32_t x)
 {
 	return ((x & 0x000000ffUL) << 24) |