fix MSVC build

This commit is contained in:
Vitaly Takmazov
2014-09-08 11:12:50 +04:00
committed by Dmitry Podgorny
parent bf5bf96e95
commit 58613ea7f3
12 changed files with 28 additions and 54 deletions

View File

@@ -86,19 +86,7 @@ A million repetitions of "a"
#include <string.h>
/* make sure the stdint.h types are available */
#if defined(_MSC_VER) /* Microsoft Visual C++ */
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef __int64 int64_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
/* no uint64_t */
#else
#include <stdint.h>
#endif
#include "ostypes.h"
#include "sha1.h"