do not depends on limits.h to test __CHAR_BIT__
commitc1a53a868ebafd1d134e4a77c86074b9d07e4281
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 27 Mar 2017 12:35:46 +0000 (27 14:35 +0200)
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 27 Mar 2017 14:12:27 +0000 (27 16:12 +0200)
treec906be28b94be226f32528d6b2a8263bc75bd208
parent369cbea4b37692bfd93ca23c1991d002354d2219
do not depends on limits.h to test __CHAR_BIT__

This test depends on the header <limits.h> which itself depends
on some macros being defined by the compiler.

Now these macros are predefined (at least the obvious ones)
but it's annoying for the tests to depends on external things
like this header.

Remove this dependence by rewriting the test to use the predefined
macros directly.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
validation/builtin_char_bit.c [deleted file]
validation/preprocessor/predef-char-bit.c [new file with mode: 0644]