Commit 22893bae authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'update-kwsys'

405d9cb4 Merge branch 'upstream-KWSys' into update-kwsys
3068a0d0 KWSys 2019-01-22 (4fecfe6f)
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !2833
parents e898f48b 405d9cb4
......@@ -3871,7 +3871,8 @@ SystemInformation::LongLong SystemInformationImplementation::GetProcessId()
{
#if defined(_WIN32)
return GetCurrentProcessId();
#elif defined(__linux) || defined(__APPLE__)
#elif defined(__linux) || defined(__APPLE__) || defined(__OpenBSD__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
return getpid();
#else
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment