D7903: sha1dc: avoid including the nonexistent stdint.h with Visual Studio 2008

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Thu Jan 16 10:08:05 EST 2020


yuja added a comment.


  > #ifndef SHA1DC_NO_STANDARD_INCLUDES
  > +#if !defined(_MSC_VER) || _MSC_VER >= 1600
  >  #include <stdint.h>
  > +#else
  > +/* prior to Visual Studio 2010 */
  > +typedef unsigned int uint32_t;
  
  `unsigned __int32` for consistency.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7903/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7903

To: mharbison72, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list