diff --git a/utils/HelpGen/src/scriptbinder.cpp b/utils/HelpGen/src/scriptbinder.cpp index eb769b7461..e5a60fa3df 100644 --- a/utils/HelpGen/src/scriptbinder.cpp +++ b/utils/HelpGen/src/scriptbinder.cpp @@ -33,7 +33,7 @@ // helper functions -static size_t log2(size_t nr) +static size_t wx_log2(size_t nr) { size_t tmp = 0; while (nr >= 2 ) @@ -66,7 +66,7 @@ void ScriptStream::WriteBytes( const void* srcBuf, size_t count ) if ( m_Size + count > m_Capacity ) { m_Capacity = - ( 0x2 << (log2( m_Size + count ) + 1 ) ); + ( 0x2 << (wx_log2( m_Size + count ) + 1 ) ); if ( m_Capacity < 128 ) m_Capacity = 128;