libfreerdp-utils: Fixed missing wcsdup on Android

This commit is contained in:
Martin Fleisz 2012-05-24 01:40:44 -07:00
parent 570c086dfb
commit 86e42889e7
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ wchar_t* xwcsdup(const wchar_t* wstr)
mem = _wcsdup(wstr);
#elif sun
mem = wsdup(wstr);
#elif defined(__APPLE__) && defined(__MACH__)
#elif (defined(__APPLE__) && defined(__MACH__)) || defined(ANDROID)
mem = xmalloc(wcslen(wstr));
if (mem != NULL)
wcscpy(mem, wstr);