X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/376e1129f716901418d40b4cf2959e888a13a2c5..80a779275ae04443c568dca919adb26cf6f5002c:/src/common/hashmap.cpp diff --git a/src/common/hashmap.cpp b/src/common/hashmap.cpp index 19a385d451..6612272118 100644 --- a/src/common/hashmap.cpp +++ b/src/common/hashmap.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: hashmap.cpp +// Name: src/common/hashmap.cpp // Purpose: wxHashMap implementation // Author: Mattia Barbon // Modified by: @@ -9,15 +9,11 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "hashmap.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif #include "wx/hashmap.h" @@ -60,6 +56,8 @@ unsigned long wxStringHash::charStringHash( const char* k ) } #endif +#if !wxUSE_STL || !defined(HAVE_STL_HASH_MAP) + /* from SGI STL */ const unsigned long _wxHashTableBase2::ms_primes[prime_count] = { @@ -151,3 +149,4 @@ _wxHashTable_NodeBase* _wxHashTableBase2::DummyProcessNode(_wxHashTable_NodeBase return node; } +#endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)