diff options
author | Brad King <brad.king@kitware.com> | 2019-01-23 13:16:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-23 13:17:04 (GMT) |
commit | 22893baed1556420b93c4f3a62b4c450ac354040 (patch) | |
tree | caf1d060fd135c4e3bd46ecdb24719e8c27690ee | |
parent | e898f48bbc944c5525f7f292b55cca8ae2fa4cae (diff) | |
parent | 405d9cb4b5cf9d849facda5dfa6ec02e57f33be7 (diff) | |
download | CMake-22893baed1556420b93c4f3a62b4c450ac354040.zip CMake-22893baed1556420b93c4f3a62b4c450ac354040.tar.gz CMake-22893baed1556420b93c4f3a62b4c450ac354040.tar.bz2 |
Merge topic 'update-kwsys'
405d9cb4b5 Merge branch 'upstream-KWSys' into update-kwsys
3068a0d0dc KWSys 2019-01-22 (4fecfe6f)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2833
-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; |