diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 16:07:50 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-08-24 16:07:50 +0200 |
commit | 1ae3aae35193dce25e5534b12a46011ec7912bb4 (patch) | |
tree | 85d452b2a9cc23f081de7b2f3054801d6d9ea554 /src/compat.h | |
parent | 4c0623a080c77ed54fa9fec47c2ab982385cb9a9 (diff) | |
download | fastd-1ae3aae35193dce25e5534b12a46011ec7912bb4.tar fastd-1ae3aae35193dce25e5534b12a46011ec7912bb4.zip |
Use simple int64_t timestamps in ms instead of timespecs
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat.h b/src/compat.h index c73a340..d5d60fc 100644 --- a/src/compat.h +++ b/src/compat.h @@ -116,7 +116,7 @@ static inline char *get_current_dir_name(void) { #define CLOCK_MONOTONIC 0 #define clockid_t int -static inline int clock_gettime(clockid_t clk_id __attribute__((unused)), struct timespec *tp) { +static inline int clock_gettime(clockid_t clk_id __attribute__((unused)), fastd_timeout_t *tp) { static mach_timebase_info_data_t timebase_info = {}; if (!timebase_info.denom) |