This is an archive of the discontinued Mercurial Phabricator instance.

sha1dc: manually define integer types on msvc 2008
ClosedPublic

Authored by indygreg on Jan 14 2020, 8:54 PM.

Details

Summary

Python 2.7 on Windows builds with MSVC 2008, which
doesn't include stdint.h. So we need to check for the
compiler version and manually define missing types when it
is ancient.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Jan 14 2020, 8:54 PM
pulkit accepted this revision.Jan 15 2020, 7:09 AM
This revision is now accepted and ready to land.Jan 15 2020, 7:09 AM
This revision was automatically updated to reflect the committed changes.