diff options
author | Mark Janes <mark.a.janes@intel.com> | 2016-07-08 21:54:33 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:46 -0700 |
commit | 3f5e02278a906c707349a896373074a9cabb5d5a (patch) | |
tree | 659a3d25cfee735974b73e4757d7c1f178148f17 /retrace/daemon/glframe_os.hpp | |
parent | 7102cc44cdcdc1ecbc994d3f174e8e8448d15fe9 (diff) |
add os-specific time formatting
Diffstat (limited to 'retrace/daemon/glframe_os.hpp')
-rw-r--r-- | retrace/daemon/glframe_os.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_os.hpp b/retrace/daemon/glframe_os.hpp index 6bad244e..018e4139 100644 --- a/retrace/daemon/glframe_os.hpp +++ b/retrace/daemon/glframe_os.hpp @@ -28,9 +28,10 @@ #ifndef _GLFRAME_OS_H_ #define _GLFRAME_OS_H_ +#include <time.h> + #include <mutex> #include <condition_variable> -// #include <pthread.h> #include "glframe_traits.hpp" @@ -62,6 +63,8 @@ class Semaphore : NoCopy, NoAssign, NoMove { int fork_execv(const char *path, const char *const argv[]); +struct tm *glretrace_localtime(const time_t *timep, struct tm *result); + } // namespace glretrace #endif // _GLFRAME_OS_H_ |