diff --git a/plugins/GSdx/stdafx.h b/plugins/GSdx/stdafx.h index 9eaef9a4bd..cbca970307 100644 --- a/plugins/GSdx/stdafx.h +++ b/plugins/GSdx/stdafx.h @@ -130,7 +130,11 @@ using namespace std; template<> class hash_compare { 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 { 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 { diff --git a/plugins/GSdx/vsprops/common.vsprops b/plugins/GSdx/vsprops/common.vsprops index 0602732f9c..de027a5709 100644 --- a/plugins/GSdx/vsprops/common.vsprops +++ b/plugins/GSdx/vsprops/common.vsprops @@ -9,6 +9,7 @@