Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGb4420cea45e8: sha1dc: avoid including the nonexistent stdint.h with Visual Studio 2008
Diff Detail
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
mercurial/thirdparty/sha1dc/lib/ubc_check.h | ||
---|---|---|
35 | I see that ef36156eac9f uses typedef unsigned __int32 uint32_t if somebody wants to fix in flight. |
Comment Actions
#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.
I see that ef36156eac9f uses typedef unsigned __int32 uint32_t if somebody wants to fix in flight.