Merge pull request #613 from mfleisz/master
libfreerdp-utils: Fixed missing wcsdup on Android
This commit is contained in:
commit
e63de0e115
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user