From 0c793018079803628b5aeee6bbc1e6464fbefd65 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 8 Jun 2013 20:29:03 +0000 Subject: =?UTF-8?q?sys::process::get=5Fid()=20now=20returns=20the=20proces?= =?UTF-8?q?s=20ID=20instead=20of=20a=20process=20handle=20on=20Windows.=20?= =?UTF-8?q?=20Patch=20thanks=20to=20Kim=20Gr=C3=A4sman!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183621 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Process.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc index ad9412852f..359b99f513 100644 --- a/lib/Support/Windows/Process.inc +++ b/lib/Support/Windows/Process.inc @@ -40,7 +40,7 @@ using namespace sys; process::id_type self_process::get_id() { - return GetCurrentProcess(); + return GetCurrentProcessId(); } static TimeValue getTimeValueFromFILETIME(FILETIME Time) { -- cgit v1.2.3