diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index 4d46cd910..a0ff3793e 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -1432,7 +1432,7 @@ GetRunningExecutablePath() #elif ZEN_PLATFORM_MAC char Buffer[PROC_PIDPATHINFO_MAXSIZE]; - int SelfPid = GetCurrentProcessId(); + int SelfPid = int(getpid()); if (proc_pidpath(SelfPid, Buffer, sizeof(Buffer)) <= 0) return {}; |