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:
parent
9e944557de
commit
f4d0df651b
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue