From e0131ac18b2f657701f9965d311cc950b5dff102 Mon Sep 17 00:00:00 2001 From: lordmulder Date: Tue, 21 Jun 2011 22:07:22 +0200 Subject: [PATCH] Fixed compilation in Visual Studio 2008. --- .gitignore | 2 + LameXP_VS2008.vcproj | 196 ++++++++++++++++++++++++++++++++++++- src/Dialog_About.cpp | 1 + src/Global.cpp | 1 + src/Targetver.h | 3 +- src/Thread_CueSplitter.cpp | 2 + 6 files changed, 200 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 8ad46266..8278b240 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ /LameXP_*.opensdf /LameXP_*.sdf /LameXP_*.suo +/LameXP_*.ncb +/LameXP_*.sln.docstates /bin etc/Deployment/*.exe etc/Deployment/_postproc.bat diff --git a/LameXP_VS2008.vcproj b/LameXP_VS2008.vcproj index 976aeee3..6f36bfe9 100644 --- a/LameXP_VS2008.vcproj +++ b/LameXP_VS2008.vcproj @@ -66,7 +66,7 @@ + + @@ -368,6 +372,10 @@ RelativePath=".\src\Dialog_About.cpp" > + + @@ -408,6 +416,10 @@ RelativePath=".\src\Encoder_Abstract.cpp" > + + @@ -468,6 +480,10 @@ RelativePath=".\src\Model_AudioFile.cpp" > + + @@ -500,6 +516,10 @@ RelativePath=".\src\ShellIntegration.cpp" > + + @@ -592,6 +612,10 @@ RelativePath=".\src\Decoder_ALAC.h" > + + @@ -670,6 +694,40 @@ /> + + + + + + + + + + + @@ -1010,6 +1068,20 @@ /> + + + + + @@ -1246,6 +1318,40 @@ /> + + + + + + + + + + + @@ -1436,6 +1542,40 @@ RelativePath=".\src\Targetver.h" > + + + + + + + + + + + @@ -1692,6 +1832,10 @@ RelativePath=".\tmp\MOC_Dialog_About.cpp" > + + @@ -1732,6 +1876,10 @@ RelativePath=".\tmp\MOC_Encoder_Abstract.cpp" > + + @@ -1756,6 +1904,10 @@ RelativePath=".\tmp\MOC_Model_AudioFile.cpp" > + + @@ -1776,6 +1928,10 @@ RelativePath=".\tmp\MOC_ShellIntegration.cpp" > + + @@ -2051,6 +2207,40 @@ + + + + + + + + + + + diff --git a/src/Dialog_About.cpp b/src/Dialog_About.cpp index ce87c899..7ee70746 100644 --- a/src/Dialog_About.cpp +++ b/src/Dialog_About.cpp @@ -38,6 +38,7 @@ #include #include +#include //Helper macros #define LINK(URL) QString("%2").arg(URL).arg(URL) diff --git a/src/Global.cpp b/src/Global.cpp index f6ee3dc9..c44b887a 100644 --- a/src/Global.cpp +++ b/src/Global.cpp @@ -52,6 +52,7 @@ #include #include #include +#include //COM includes #include diff --git a/src/Targetver.h b/src/Targetver.h index 3a0c248f..b78503a7 100644 --- a/src/Targetver.h +++ b/src/Targetver.h @@ -28,8 +28,7 @@ // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. - -#include +//#include // Modify the following defines if you have to target a platform prior to the ones specified below. // Refer to MSDN for the latest info on corresponding values for different platforms. diff --git a/src/Thread_CueSplitter.cpp b/src/Thread_CueSplitter.cpp index 5a9fb0cb..85ef3f60 100644 --- a/src/Thread_CueSplitter.cpp +++ b/src/Thread_CueSplitter.cpp @@ -36,6 +36,8 @@ #include #include +#include +#include //////////////////////////////////////////////////////////// // Constructor