don't compile in wx hash code unless we really use it (#9532:12)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-06-14 01:53:29 +00:00
parent 82bf63a08c
commit 6631cbd98e

View File

@@ -46,7 +46,7 @@ unsigned long wxStringHash::stringHash( const wchar_t* k )
{ return DoStringHash(k); }
#if !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)
#ifdef wxNEEDS_WX_HASH_MAP
/* from SGI STL */
const unsigned long _wxHashTableBase2::ms_primes[prime_count] =
@@ -139,4 +139,4 @@ _wxHashTable_NodeBase* _wxHashTableBase2::DummyProcessNode(_wxHashTable_NodeBase
return node;
}
#endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)
#endif // wxNEEDS_WX_HASH_MAP