mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-utils: Fixed missing wcsdup on Android
This commit is contained in:
parent
570c086dfb
commit
86e42889e7
|
@ -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