# HG changeset patch # User Matt Harbison # Date 2018-03-10 02:31:57 # Node ID d255744de97a7c6d15a0f8c13ff234a799f7c2a7 # Parent da2977e674a365fa3ebb57655f0683f6f9d5f546 xdiff: backport int64_t and uint64_t types to Windows Sadly, MSVC 2008 lacks stdint.h. These are the only two definitions needed right now. diff --git a/mercurial/thirdparty/xdiff/xinclude.h b/mercurial/thirdparty/xdiff/xinclude.h --- a/mercurial/thirdparty/xdiff/xinclude.h +++ b/mercurial/thirdparty/xdiff/xinclude.h @@ -24,7 +24,13 @@ #define XINCLUDE_H #include +#if !defined(_MSC_VER) || _MSC_VER >= 1600 #include +#else +/* prior to Visual Studio 2010 */ +typedef long long int64_t; +typedef unsigned long long uint64_t; +#endif #include #include #include