From 84876edbcbffa86831ed52cff678ba039d2ac118 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Mon, 13 Jun 2016 17:00:13 +0300 Subject: [PATCH] Fixed emscripten compilation --- lib/system/osalloc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim index 62e36bfd61..de26f52d96 100644 --- a/lib/system/osalloc.nim +++ b/lib/system/osalloc.nim @@ -68,7 +68,7 @@ when defined(emscripten): mmapDescr.realSize = realSize mmapDescr.realPointer = realPointer - c_fprintf(c_stdout, "[Alloc] size %d %d realSize:%d realPos:%d\n", block_size, cast[int](result), realSize, cast[int](realPointer)) + #c_fprintf(c_stdout, "[Alloc] size %d %d realSize:%d realPos:%d\n", block_size, cast[int](result), realSize, cast[int](realPointer)) proc osTryAllocPages(size: int): pointer = osAllocPages(size)