[vlc-devel] [PATCH] WinCE: work-around inexistant functions

Rémi Denis-Courmont remi at remlab.net
Thu May 7 15:08:07 CEST 2009


On Thu, 7 May 2009 14:43:01 +0200 (CEST), jpd at m2x.nl wrote:
> On Thu, May 7, 2009 14:03, Pierre Ynard wrote:
>> getpid() and remove() don't exist on WinCE. Use rand() and unlink() here
>> instead
> 
> Is there a reason why we can't call unlink() right away? If the victim is
> known to be a file, that should work well enough, and it saves an #ifdef.

Yeah, assuming Win32 has unlink(), we can simply use that.

Come to think of it, I need to check the Unicode status of those...

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list