aboutsummaryrefslogtreecommitdiffstats
path: root/pc/getid.c
diff options
context:
space:
mode:
Diffstat (limited to 'pc/getid.c')
-rw-r--r--pc/getid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pc/getid.c b/pc/getid.c
index 20cec884..82cfd6cb 100644
--- a/pc/getid.c
+++ b/pc/getid.c
@@ -1,4 +1,4 @@
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__MINGW32__)
#ifdef OS2
# define INCL_DOSPROCESS
@@ -47,7 +47,7 @@ int getpgrp(void)
return (0);
}
-#if defined(_MSC_VER) || defined(__GO32__)
+#if defined(_MSC_VER) || defined(__GO32__) || defined(__MINGW32__)
int getppid(void)
{
#ifdef OS2