1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-27 04:21:53 +02:00

compat: (pretend to) implement getpid() on NaCl

This commit is contained in:
Rémi Denis-Courmont 2012-09-08 19:11:07 +03:00
parent 60d5869581
commit 294f9cc858

View File

@ -29,8 +29,10 @@
pid_t getpid (void)
{
#ifdef WIN32
#if defined (WIN32)
return (pid_t) GetCurrentProcessId ();
#elif defined (__native_client__)
return 1;
#else
# error Unimplemented!
#endif