diff --git a/examples/c/decode/file/example_c_decode_file.vcproj b/examples/c/decode/file/example_c_decode_file.vcproj index 15f108cc..ddd20bca 100644 --- a/examples/c/decode/file/example_c_decode_file.vcproj +++ b/examples/c/decode/file/example_c_decode_file.vcproj @@ -50,6 +50,7 @@ DebugInformationFormat="4" CompileAs="0" DisableSpecificWarnings="4267;4996" + ForcedIncludeFiles="share/msvc2005_int.h" /> . */ -typedef __int8 FLAC__int8; -typedef uint32_t __int8 FLAC__uint8; - -typedef __int16 FLAC__int16; -typedef __int32 FLAC__int32; -typedef __int64 FLAC__int64; -typedef uint32_t __int16 FLAC__uint16; -typedef uint32_t __int32 FLAC__uint32; -typedef uint32_t __int64 FLAC__uint64; +typedef signed __int8 FLAC__int8; +typedef signed __int16 FLAC__int16; +typedef signed __int32 FLAC__int32; +typedef signed __int64 FLAC__int64; +typedef unsigned __int8 FLAC__uint8; +typedef unsigned __int16 FLAC__uint16; +typedef unsigned __int32 FLAC__uint32; +typedef unsigned __int64 FLAC__uint64; #else diff --git a/include/share/Makefile.am b/include/share/Makefile.am index 2d8ca503..079c1690 100644 --- a/include/share/Makefile.am +++ b/include/share/Makefile.am @@ -9,6 +9,7 @@ EXTRA_DIST = \ getopt.h \ grabbag.h \ macros.h \ + msvc2005_int.h \ private.h \ replaygain_analysis.h \ replaygain_synthesis.h \ diff --git a/include/share/compat.h b/include/share/compat.h index 2083f3a2..94edbd21 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -130,14 +130,6 @@ # ifndef UINT32_MAX # define UINT32_MAX _UI32_MAX # endif - typedef unsigned __int64 uint64_t; - typedef unsigned __int32 uint32_t; - typedef unsigned __int16 uint16_t; - typedef unsigned __int8 uint8_t; - typedef __int64 int64_t; - typedef __int32 int32_t; - typedef __int16 int16_t; - typedef __int8 int8_t; # define PRIu64 "I64u" # define PRId64 "I64d" # define PRIx64 "I64x" diff --git a/src/flac/flac.vcproj b/src/flac/flac.vcproj index ace4e3c4..0c962b1b 100644 --- a/src/flac/flac.vcproj +++ b/src/flac/flac.vcproj @@ -50,6 +50,7 @@ DebugInformationFormat="4" CompileAs="0" DisableSpecificWarnings="4267;4996" + ForcedIncludeFiles="share/msvc2005_int.h" />