(b4_int_type): Use yysigned_char instead of signed char,

for portability to K&R hosts.  Fix typo: signed char is guaranteed
only to 127, not to 128.
This commit is contained in:
Paul Eggert
2002-10-14 08:06:33 +00:00
parent 768eb43fe8
commit 22a00a0cd2

View File

@@ -65,7 +65,7 @@ m4_define([b4_ints_in],
# MIN to MAX (included). # MIN to MAX (included).
m4_define([b4_int_type], m4_define([b4_int_type],
[m4_if(b4_ints_in($@, [0], [255]), [1], [unsigned char], [m4_if(b4_ints_in($@, [0], [255]), [1], [unsigned char],
b4_ints_in($@, [-128], [128]), [1], [signed char], b4_ints_in($@, [-128], [127]), [1], [yysigned_char],
b4_ints_in($@, [0], [65535]), [1], [unsigned short], b4_ints_in($@, [0], [65535]), [1], [unsigned short],
b4_ints_in($@, [-32768], [32767]), [1], [short], b4_ints_in($@, [-32768], [32767]), [1], [short],