Implement systemUptimeSeconds for OS X

Review Request #125033 - Created Sept. 3, 2015 and submitted

Information
Samuel Gaist
libksysguard
master
189b533...
Reviewers
kde-baseapps

Fix build on OS X

OS X doesn't provide CLOCK_MONOTONIC for clock_gettime so this patch
implements the uptime retrieval using clock_get_time

This patch fixes the build on OS X by using the empty process_gnu_p
also for platforms defining __APPLE__

Build on OS X 10.8

Albert Astals Cid
Samuel Gaist
Review request changed

Status: Closed (submitted)

Loading...