diff options
author | Edward Thomson <ethomson@github.com> | 2016-02-11 23:24:21 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2016-02-12 21:34:15 +0300 |
commit | 35439f5997c41d0c50d58997c2167ee93aad6c30 (patch) | |
tree | 131598ee3fa2374d4010828fc0407568fe80e0f8 /tests/checkout | |
parent | 263e674ec6701b774d8f464150a9d30650c6da46 (diff) |
win32: introduce p_timeval that isn't stupid
Windows defines `timeval` with `long`, which we cannot
sanely cope with. Instead, use a custom timeval struct.
Diffstat (limited to 'tests/checkout')
-rw-r--r-- | tests/checkout/checkout_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkout/checkout_helpers.c b/tests/checkout/checkout_helpers.c index fb2f415e7..d7d24f33f 100644 --- a/tests/checkout/checkout_helpers.c +++ b/tests/checkout/checkout_helpers.c @@ -133,7 +133,7 @@ int checkout_count_callback( void tick_index(git_index *index) { struct timespec ts; - struct timeval times[2]; + struct p_timeval times[2]; cl_assert(index->on_disk); cl_assert(git_index_path(index)); |