mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-03 04:03:23 +03:00
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
This commit is contained in:
1 parent
a4841e12c0
commit
3068a0d0dc
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user