From 6631cbd98e7d1139a45841b519ae8aa753a15fbc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 14 Jun 2008 01:53:29 +0000 Subject: [PATCH] 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 --- src/common/hashmap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/hashmap.cpp b/src/common/hashmap.cpp index e3742aed7c..cf0343ed38 100644 --- a/src/common/hashmap.cpp +++ b/src/common/hashmap.cpp @@ -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 -- 2.45.2