Foundation fails to compile in MSVC 2010

Issue #4 resolved
Gyula László
created an issue

Due to the lack of C99 functionality in Microsofts implementation of the c standard library. foundation can not be compiled under MSVC 2010.

For a possible solution, please check my pull request with the similar title.