Bug 1476213 - Include process.h on Windows and define getpid as _getpid. r=me

--HG--
extra : rebase_source : 6d9d998248243be8b9f7dda9230450017117d2a6
This commit is contained in:
Marco Castelluccio 2018-07-17 12:09:16 +02:00
parent c29a462c0b
commit 3603b9498e

View File

@ -4,7 +4,10 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include <stdio.h>
#ifndef XP_WIN
#ifdef XP_WIN
#include <process.h>
#define getpid _getpid
#else
#include <signal.h>
#include <unistd.h>
#endif