Index: rts/System/StdAfx.h =================================================================== --- rts/System/StdAfx.h (revision 1774) +++ rts/System/StdAfx.h (arbetskopia) @@ -72,4 +72,14 @@ std::runtime_error(msg) {} }; +#include + +std::string +StringToLower(std::string &s) +{ + std::string out(s); + std::transform (s.begin(), s.end(), out.begin(), (int (*)(int))tolower);+ return out; +} + #endif // __STD_AFX_H__