Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Mainly motivated by the building failures reported in #30.
The default target SDK for Visual Studio 2012 (AKA 11) seems to be Windows 7, which has been EOL already, but the compiler is still supported until beginning of next year, so probably worth fixing.
That version and the previous one (Visual Studio 10 2010) provide a working stdint.h that could be used as a fallback for the inttypes.h that the code requires.
The oldest compiler available in AppVeyor is Visual Studio 2008 (AKA 9) which probably target something even older than doesn't even provide a usable stdint.h, but will build fine with the suggested fallback.
The second patch is obviously not affecting Windows, but would probably trigger warnings in really old and still supported Linux as well that still have a compiler that default to the Gnu89 standard (ex: CentOS 7)