summaryrefslogtreecommitdiff
path: root/src/system/Clock.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-05-08 15:42:47 +0200
committerMax Kellermann <max@musicpd.org>2019-05-08 15:58:01 +0200
commit96f889276f95a7c9b9882f53423556e1bf17e6a2 (patch)
treec289503cace2a3ea80d32cf10856b617914f93fe /src/system/Clock.hxx
parent214ddee2f5e3dc1c8d180a51ac3f8f9dae46cbc8 (diff)
system/Clock: GetProcessUptimeS() returns std::chrono::duration
Diffstat (limited to 'src/system/Clock.hxx')
-rw-r--r--src/system/Clock.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/system/Clock.hxx b/src/system/Clock.hxx
index 6a10bcbde..62a7f7aba 100644
--- a/src/system/Clock.hxx
+++ b/src/system/Clock.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2018 The Music Player Daemon Project
+ * Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -22,13 +22,15 @@
#include "util/Compiler.h"
+#include <chrono>
+
#ifdef _WIN32
/**
* Returns the uptime of the current process in seconds.
*/
gcc_pure
-unsigned
+std::chrono::seconds
GetProcessUptimeS();
#endif