From c9cd39649ef1a82cdde1a476353d1b517ed7a2bd Mon Sep 17 00:00:00 2001 From: Phaeodaria Date: Thu, 2 Jun 2011 10:51:42 +0200 Subject: [PATCH] typedef std::wstring instead of removing wstring functions --- xbmc/utils/StdString.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xbmc/utils/StdString.h b/xbmc/utils/StdString.h index 9800f946b2..a7bb957abd 100644 --- a/xbmc/utils/StdString.h +++ b/xbmc/utils/StdString.h @@ -7,6 +7,14 @@ #define va_copy(dst, src) ((dst) = (src)) #endif +#if defined(__ANDROID__) +namespace std +{ + typedef basic_string wstring; +} +#endif + + // ============================================================================= // FILE: StdString.h // AUTHOR: Joe O'Leary (with outside help noted in comments)