commit | ad96a871a1470eb76d6233d3890ce9338047b7a3 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Sun Jan 12 19:38:43 2014 +0200 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Sun Jan 12 19:38:43 2014 +0200 |
tree | 4b4a0cf53cafe2bab98a6719b842448b7dfe2932 | |
parent | 3d5c090872fab4212b57c290e8ed4d02c78c1737 [diff] |
Windows: Add config.h for building liblzma with MSVC 2013. This is for building liblzma. Building xz tool too requires a little more work. Maybe it will be supported, but for most MSVC users it's enough to be able to build liblzma. C99 support in MSVC 2013 is almost usable which is a big improvement over earlier versions. It's "almost" because there's a dumb bug that breaks mixed declarations after an "if" statements unless the "if" statement uses braces: https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs Hopefully it will get fixed. Then liblzma should be compilable with MSVC 2013 without patching.