stdint.h fixes for MSVS 2005/2008

This adds a new msvc2005_int.h header file which is "force included"
as needed by the MSVS project file.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo 2017-01-19 06:30:45 +11:00
parent 89a6c52067
commit 1e9e707c6f
29 changed files with 61 additions and 17 deletions

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -39,15 +39,14 @@
* the 1999 ISO C Standard header file <stdint.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

View File

@ -9,6 +9,7 @@ EXTRA_DIST = \
getopt.h \
grabbag.h \
macros.h \
msvc2005_int.h \
private.h \
replaygain_analysis.h \
replaygain_synthesis.h \

View File

@ -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"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -49,6 +49,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -125,6 +126,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -49,6 +49,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -115,6 +116,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -52,6 +52,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -132,6 +133,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -52,6 +52,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -120,6 +121,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -128,6 +129,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -128,6 +129,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -49,6 +49,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -127,6 +128,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -117,6 +118,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -129,6 +130,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -50,6 +50,7 @@
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -128,6 +129,7 @@
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -49,6 +49,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -127,6 +128,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"

View File

@ -49,6 +49,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="4"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"
@ -126,6 +127,7 @@
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3"
DisableSpecificWarnings="4267;4996"
ForcedIncludeFiles="share/msvc2005_int.h"
/>
<Tool
Name="VCManagedResourceCompilerTool"