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

@@ -11,15 +11,8 @@
#ifndef MD5_H
#define MD5_H
/* we use the uint32_t type from stdint.h
* if it is not available, add a typedef here:
*/
/* make sure the stdint.h types are available */
#if defined(_MSC_VER) /* Microsoft Visual C++ */
typedef unsigned int uint32_t;
#else
#include <stdint.h>
#endif
#include "ostypes.h"
struct MD5Context {
uint32_t buf[4];