commit | 7d7f6d332c4011f1e7963958ea09a8cd59178685 | [log] [tgz] |
---|---|---|
author | Patrick Steinhardt <ps@pks.im> | Wed May 03 13:52:55 2017 +0200 |
committer | Patrick Steinhardt <ps@pks.im> | Mon May 15 07:34:04 2017 +0200 |
tree | c60b8c77cf87ee01e6bf56f6d241e81714dbdc23 | |
parent | 8d93a11cffa8199d212124401fdca64b5ae3bacc [diff] |
tests: clone::local: compile UNC functions for Windows only
diff --git a/tests/clone/local.c b/tests/clone/local.c index 91a0a1c..7f54d05 100644 --- a/tests/clone/local.c +++ b/tests/clone/local.c
@@ -16,6 +16,7 @@ return git_buf_printf(buf, "file://%s/%s", host, path); } +#ifdef GIT_WIN32 static int git_style_unc_path(git_buf *buf, const char *host, const char *path) { git_buf_clear(buf); @@ -49,6 +50,7 @@ return 0; } +#endif void test_clone_local__should_clone_local(void) {