diff --git a/make_machdep/char_is_unsigned.c b/make_machdep/char_is_unsigned.c index dd4f61b9e483fe4b3cfb3fe20016ffcaf1d4e7fc..aca0a8054061692e2109ef2447ea778bd96c81f4 100644 --- a/make_machdep/char_is_unsigned.c +++ b/make_machdep/char_is_unsigned.c @@ -1,4 +1,2 @@ -#include "make_machdep_common.h" - -__attribute__((section(".data"))) -unsigned char char_is_unsigned = (char)-1 >= 0 ? 0x15 : 0xf4; +_Static_assert((char)-1 >= 0 ? 1 : 0, "char_is_unsigned is False"); +_Static_assert((char)-1 >= 0 ? 0 : 1, "char_is_unsigned is True");