fix MSVC build
This commit is contained in:
committed by
Dmitry Podgorny
parent
bf5bf96e95
commit
58613ea7f3
@@ -20,8 +20,18 @@
|
||||
#ifndef __LIBSTROPHE_OSTYPES_H__
|
||||
#define __LIBSTROPHE_OSTYPES_H__
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined (_MSC_VER) && _MSC_VER < 1600
|
||||
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;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#endif /* __LIBSTROPHE_OSTYPES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user