Skip to content

Commit

Permalink
Fix the build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Norton committed Oct 5, 2010
1 parent 3b6f5c3 commit 3b5c655
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mono/metadata/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 3b5c655

Please sign in to comment.