mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 461848 - libjar wince cleanup r+sr=dveditz
This commit is contained in:
parent
286dc1da9e
commit
e1f2c7a82c
@ -103,6 +103,23 @@ char * strdup(const char *src)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WINCE
|
||||
int remove(const char* inPath)
|
||||
{
|
||||
unsigned short wPath[MAX_PATH];
|
||||
MultiByteToWideChar(CP_ACP,
|
||||
0,
|
||||
inPath,
|
||||
-1,
|
||||
wPath,
|
||||
MAX_PATH);
|
||||
|
||||
if(FALSE != DeleteFileW(wPath))
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* STANDALONE */
|
||||
|
||||
#ifdef XP_UNIX
|
||||
|
Loading…
Reference in New Issue
Block a user