From 41deaf7c54dafcea0c9afbfad7d7ab948504ca1e Mon Sep 17 00:00:00 2001 From: Martin Baute Date: Mon, 12 Dec 2016 09:15:16 +0100 Subject: [PATCH] Corrected _PDCLIB_CHAR_SIGNED handling. --- internals/_PDCLIB_int.h | 2 +- platform/example/internals/_PDCLIB_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internals/_PDCLIB_int.h b/internals/_PDCLIB_int.h index 0614deb..848f66a 100644 --- a/internals/_PDCLIB_int.h +++ b/internals/_PDCLIB_int.h @@ -33,7 +33,7 @@ #define _PDCLIB_UCHAR_MAX 0xff #define _PDCLIB_SCHAR_MIN (-0x7f - 1) #define _PDCLIB_SCHAR_MAX 0x7f -#ifdef _PDCLIB_CHAR_SIGNED +#if _PDCLIB_CHAR_SIGNED == 1 #define _PDCLIB_CHAR_MIN _PDCLIB_SCHAR_MIN #define _PDCLIB_CHAR_MAX _PDCLIB_SCHAR_MAX #else diff --git a/platform/example/internals/_PDCLIB_config.h b/platform/example/internals/_PDCLIB_config.h index fe23663..1e34cc0 100755 --- a/platform/example/internals/_PDCLIB_config.h +++ b/platform/example/internals/_PDCLIB_config.h @@ -45,7 +45,7 @@ /* first, before going to lengths about it. */ /* -------------------------------------------------------------------------- */ -/* Comment out (or delete) the line below if your 'char' type is unsigned. */ +/* Set to 0 if your 'char' type is unsigned. */ #define _PDCLIB_CHAR_SIGNED 1 /* Width of the integer types short, int, long, and long long, in bytes. */ -- 2.40.0