mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2019-01-22 (4fecfe6f)
This commit is contained in:
commit
405d9cb4b5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user