From f4d0df651bffb4c2a81055cc3c4a4c2cf2206c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kochma=C5=84ski?= Date: Wed, 1 Feb 2017 12:56:41 +0100 Subject: [PATCH] buildsystem: fix for old msvc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- msvc/ecl/config.h.msvc6 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msvc/ecl/config.h.msvc6 b/msvc/ecl/config.h.msvc6 index c44b49cfa..86f7a3e54 100755 --- a/msvc/ecl/config.h.msvc6 +++ b/msvc/ecl/config.h.msvc6 @@ -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;