Commit 3068a0d0 authored by Kitware Robot's avatar Kitware Robot Committed by Brad King

KWSys 2019-01-22 (4fecfe6f)

Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 4fecfe6f29be07ec165bcc87a20666425d928aa6 (master).

Upstream Shortlog
-----------------

Brad King (1):
      7a5e5af8 SystemTools: Revert "Fix FileIsSymlink with Windows data deduplication"

Tobias Kloss (1):
      ef373416 SystemTools: Fix FileIsSymlink with Windows data deduplication

Wouter Klouwen (1):
      8e9970fb SystemInformation: support BSD platforms for GetProcessId
parent a4841e12
......@@ -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