fix MSVC build
This commit is contained in:
committed by
Dmitry Podgorny
parent
bf5bf96e95
commit
58613ea7f3
14
src/sha1.c
14
src/sha1.c
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user