mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
monotonic.h no longer depends on time.h
This commit is contained in:
parent
2baa34beb8
commit
530cf2eb14
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
#define MONOTONIC_T_MAX INT64_MAX
|
||||
#define MONOTONIC_T_MIN INT64_MIN
|
||||
|
|
@ -65,6 +64,7 @@ init_monotonic(void) {
|
|||
}
|
||||
|
||||
#ifdef MONOTONIC_IMPLEMENTATION
|
||||
#include <time.h>
|
||||
monotonic_t monotonic_start_time = 0;
|
||||
|
||||
static inline monotonic_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue