Use one libc wrapper copy for sgx and other platforms (#107)

And remove bh_printf macro for other platform header files
This commit is contained in:
wenyongh
2019-08-28 15:19:52 +08:00
committed by GitHub
parent 5c69543c54
commit 5257dd8a48
13 changed files with 26 additions and 1077 deletions

View File

@ -30,7 +30,7 @@ int gci_check_platform()
{
#define CHECK(x, y) do { \
if((x) != (y)) { \
bh_printf("Platform checking failed on LINE %d at FILE %s.", \
bh_printf("Platform checking failed on LINE %d at FILE %s.",\
__LINE__, __FILE__); \
return GC_ERROR; \
} \