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