compatibility to C89 for Windows build
Merge pull request #23 from wick-ed/master

compatibility to C89 for Windows build