Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoff Norton <grompf@sublimeintervention.com>2010-10-05 23:58:09 +0400
committerGeoff Norton <grompf@sublimeintervention.com>2010-10-05 23:59:29 +0400
commit3b5c655c055910e9e98b6c543f516f143448d636 (patch)
treedf4c09ec040f6b505d2f1d52000f73651491435a
parent3b6f5c33088c53280980218f82168e3cba00a25b (diff)
Fix the build on windows2.8
-rw-r--r--mono/metadata/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mono/metadata/process.c b/mono/metadata/process.c
index c59bee3f470..01a29bcd74a 100644
--- a/mono/metadata/process.c
+++ b/mono/metadata/process.c
@@ -65,7 +65,11 @@ void ves_icall_System_Diagnostics_Process_Process_free_internal (MonoObject *thi
g_message ("%s: Closing process %p, handle %p", __func__, this, process);
#endif
+#if TARGET_WIN32
+ CloseHandle (process);
+#else
CloseProcess (process);
+#endif
}
#define STASH_SYS_ASS(this) \