buildsystem: fix for old msvc

Old MSVC apparently things, that char = unsigned char. Add explicit
prefixes to typedefs.

This is backward-compatibility fix, because this version of msvc doesn't
support some c99 types.

Reported and fixed by Jón Hallur Haraldsson.
This commit is contained in:
Daniel Kochmański 2017-02-01 12:56:41 +01:00
parent 9e944557de
commit f4d0df651b

View file

@ -219,9 +219,9 @@ typedef unsigned char ecl_base_char;
/* Missing integer types */
#if _MSC_VER < 1900
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;