Corrected _PDCLIB_CHAR_SIGNED handling.
authorMartin Baute <solar@rootdirectory.de>
Mon, 12 Dec 2016 08:13:35 +0000 (09:13 +0100)
committerMartin Baute <solar@rootdirectory.de>
Mon, 12 Dec 2016 08:13:35 +0000 (09:13 +0100)
internals/_PDCLIB_int.h

index bd656958d5df7f319ccc7c46831d1ad898947dcd..b0c79146f4e1bf481586875464d9ed622959e457 100644 (file)
@@ -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