[flac-dev] [PATCH] fix MSVC 2005/2008 build
lvqcl.mail at gmail.com
Wed Jan 18 19:17:25 UTC 2017
> These versions of Visual Studio don't have stdint.h and
> all [u]intNN_t types. But now these types are everywhere
> in FLAC codebase.
Here is the patch that fixes the problem:
it moves definitions of all [u]intNN_t types from share/compat.h
into new file share/msvc2005_int.h and then includes this file
into all files (via "Force Includes" option in *.vcproj files).
The definitions of these types are inside #if block with
_MSC_VER < 1600 condition, so these changes affect only MS Visual
Studio compilers with _MSC_VER < 1600 (i.e. MSVS 2005 and 2008).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3120 bytes
Desc: not available
More information about the flac-dev