sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Aaron Ballman
2013-06-08 20:29:03 +00:00
parent 1799921672
commit 0c79301807
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ using namespace sys;
process::id_type self_process::get_id() {
return GetCurrentProcess();
return GetCurrentProcessId();
}
static TimeValue getTimeValueFromFILETIME(FILETIME Time) {