GSdx: vs2008 fix

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5027 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2011-12-28 14:41:07 +00:00
parent eaf06e8b1d
commit 03bca19d99
2 changed files with 10 additions and 0 deletions

View File

@ -130,7 +130,11 @@ using namespace std;
template<> class hash_compare<uint32>
{
public:
#if _MSC_VER >= 1500 && _MSC_VER < 1600
enum {bucket_size = 4, min_buckets = 8};
#else
enum {bucket_size = 1};
#endif
size_t operator()(uint32 key) const
{
@ -153,7 +157,11 @@ using namespace std;
template<> class hash_compare<uint64>
{
public:
#if _MSC_VER >= 1500 && _MSC_VER < 1600
enum {bucket_size = 4, min_buckets = 8};
#else
enum {bucket_size = 1};
#endif
size_t operator()(uint64 key) const
{

View File

@ -9,6 +9,7 @@
<Tool
Name="VCCLCompilerTool"
EnableIntrinsicFunctions="true"
AdditionalIncludeDirectories="&quot;$(VTUNE_AMPLIFIER_XE_2011_DIR)include&quot;"
PreprocessorDefinitions="_WINDOWS;_WIN32_WINNT=0x500"
FloatingPointModel="2"
RuntimeTypeInfo="false"
@ -19,6 +20,7 @@
<Tool
Name="VCLinkerTool"
AdditionalDependencies="d3d11.lib d3dx11.lib d3d10_1.lib d3dx10.lib d3d9.lib d3dx9.lib dxguid.lib winmm.lib strmiids.lib xinput.lib"
AdditionalLibraryDirectories="&quot;$(VTUNE_AMPLIFIER_XE_2011_DIR)lib32&quot;"
DelayLoadDLLs="d3d9.dll;d3dx9_43.dll;d3d11.dll;d3dx11_43.dll"
GenerateDebugInformation="true"
SubSystem="2"