Use C++11 <cstdint> on Windows.

This commit is contained in:
Jonathan Naylor
2016-01-14 23:25:52 +00:00
parent 88af4e606e
commit 636dd5a112
3 changed files with 1 additions and 13 deletions

View File

@@ -20,11 +20,7 @@
#ifndef SHA256_H
#define SHA256_H
#if defined(_WIN32) || defined(_WIN64)
typedef unsigned int uint32_t;
#else
#include <cstdint>
#endif
enum {
SHA256_DIGEST_SIZE = 256 / 8