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:
parent
60d5869581
commit
294f9cc858
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user