From 87c50104b42ef7a4c45c828129fa716eb9037104 Mon Sep 17 00:00:00 2001 From: libertyernie Date: Wed, 12 Aug 2015 18:08:40 -0500 Subject: [PATCH 1/3] Use the real stdint.h in Visual Studio environments that include it --- src/streamtypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/streamtypes.h b/src/streamtypes.h index e87e4d39..e1b1d08e 100644 --- a/src/streamtypes.h +++ b/src/streamtypes.h @@ -7,7 +7,11 @@ #define _STREAMTYPES_H #ifdef _MSC_VER +#if (_MSC_VER >= 1600) +#include +#else #include +#endif #define inline _inline #define strcasecmp _stricmp #define snprintf _snprintf From ed06d9fbcdd0bef87e98621e2dfbc197bd92c308 Mon Sep 17 00:00:00 2001 From: libertyernie Date: Wed, 12 Aug 2015 18:09:10 -0500 Subject: [PATCH 2/3] Remove trailing colon from ifdef --- src/vgmstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vgmstream.c b/src/vgmstream.c index 858c0b5f..4cbb8409 100644 --- a/src/vgmstream.c +++ b/src/vgmstream.c @@ -1121,7 +1121,7 @@ int get_vgmstream_frame_size(VGMSTREAM * vgmstream) { case coding_G7221C: case coding_G7221: #endif -#ifdef VGM_USE_G719: +#ifdef VGM_USE_G719 case coding_G719: #endif #ifdef VGM_USE_MAIATRAC3PLUS From 18726cbc4be25a7338516bbe0a9639e4948fb950 Mon Sep 17 00:00:00 2001 From: libertyernie Date: Wed, 12 Aug 2015 18:11:04 -0500 Subject: [PATCH 3/3] Include a missing file in the libvgmstream project --- src/libvgmstream.vcxproj.filters | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libvgmstream.vcxproj.filters b/src/libvgmstream.vcxproj.filters index c4e4a2f4..1653825b 100644 --- a/src/libvgmstream.vcxproj.filters +++ b/src/libvgmstream.vcxproj.filters @@ -979,5 +979,8 @@ meta\Source Files + + Source Files + - + \ No newline at end of file