projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[runtime] Clean up configure.ac a bit.
[mono.git]
/
mono
/
metadata
/
process.c
diff --git
a/mono/metadata/process.c
b/mono/metadata/process.c
index b738510c1cc180b9faa9c5765b80be1242264688..02b36b631c612ab69e00fc7ab69a382fe6d5d468 100644
(file)
--- a/
mono/metadata/process.c
+++ b/
mono/metadata/process.c
@@
-663,10
+663,7
@@
MonoBoolean ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal (MonoPr
} else {
process_info->process_handle = shellex.hProcess;
process_info->thread_handle = NULL;
} else {
process_info->process_handle = shellex.hProcess;
process_info->thread_handle = NULL;
- /* It appears that there's no way to get the pid from a
- * process handle before windows xp. Really.
- */
-#if defined(HAVE_GETPROCESSID) && !defined(MONO_CROSS_COMPILE)
+#if !defined(MONO_CROSS_COMPILE)
process_info->pid = GetProcessId (shellex.hProcess);
#else
process_info->pid = 0;
process_info->pid = GetProcessId (shellex.hProcess);
#else
process_info->pid = 0;