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

Rémi Denis-Courmont remi at remlab.net
Thu May 7 14:35:04 CEST 2009


On Thu, 7 May 2009 14:03:22 +0200, Pierre Ynard <linkfanel at yahoo.fr> wrote:
> getpid() and remove() don't exist on WinCE. Use rand() and unlink() here
> instead

Seriously, there has to be a GetCurrentProcessId() or something.

rand() is completely silly here. Since we do not seed the PRNG, it will
_always_ return the same value.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list