diff options
author | Brad King <brad.king@kitware.com> | 2019-01-22 16:29:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-22 16:29:56 (GMT) |
commit | 405d9cb4b5cf9d849facda5dfa6ec02e57f33be7 (patch) | |
tree | 2f086501fffe2a97eb6d063dbbb4f81a2058d3b7 /Source/kwsys/SystemInformation.cxx | |
parent | bcc9ea2b3d9cd3b882dbb2a23502b0392cb21d1b (diff) | |
parent | 3068a0d0dc87a57408c53b23e125b6c6de0c181a (diff) | |
download | CMake-405d9cb4b5cf9d849facda5dfa6ec02e57f33be7.zip CMake-405d9cb4b5cf9d849facda5dfa6ec02e57f33be7.tar.gz CMake-405d9cb4b5cf9d849facda5dfa6ec02e57f33be7.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2019-01-22 (4fecfe6f)
Diffstat (limited to 'Source/kwsys/SystemInformation.cxx')
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index d368fa2..6c12355 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -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; |