Make it easier to build only the freestanding code
Make it easier to build only the freestanding code

Freestanding C, as opposed to hosted C (see the macro), is restricted to
a few C headers and usually lacks a libc. In our case, that means we
cannot assume <stdio.h> and FILE* is present, but we do require
<string.h> (memcpy, memcmp).

This commit simply makes it easier for me to test that TinyCBOR still
compiles in freestanding mode. Eventually I need to test with an actual
Zephyr build (issue #40).

Signed-off-by: Thiago Macieira <0ed1648d92ca0373297a182b1dba1b974ad10d88@intel.com>

01org/tinycbor,thiagomacieira/tinycbor,thiagomacieira/tinycbor,intel/tinycbor,intel/tinycbor,thiagomacieira/tinycbor,intel/tinycbor,intel/tinycbor,01org/tinycbor,01org/tinycbor,thiagomacieira/tinycbor