Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-02-11 23:24:21 +0300
committerEdward Thomson <ethomson@github.com>2016-02-12 21:34:15 +0300
commit35439f5997c41d0c50d58997c2167ee93aad6c30 (patch)
tree131598ee3fa2374d4010828fc0407568fe80e0f8 /tests/core
parent263e674ec6701b774d8f464150a9d30650c6da46 (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/core')
-rw-r--r--tests/core/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/posix.c b/tests/core/posix.c
index 5a9e24899..34a67bf47 100644
--- a/tests/core/posix.c
+++ b/tests/core/posix.c
@@ -100,7 +100,7 @@ void test_core_posix__inet_pton(void)
void test_core_posix__utimes(void)
{
- struct timeval times[2];
+ struct p_timeval times[2];
struct stat st;
time_t curtime;
int fd;