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:
authorPhilip Kelley <phkelley@hotmail.com>2013-02-11 18:25:57 +0400
committerPhilip Kelley <phkelley@hotmail.com>2013-02-11 18:25:57 +0400
commit8c29dca6c372cae1c6a97d78252ee1d7ac10673b (patch)
tree23da7da2ebc30c3557b75b00248c750989879bd8 /tests-clar/clar_libgit2.c
parenta150cc875da834fc18b2c60fa2cb5580fff532ab (diff)
Fix some incorrect MSVC #ifdef's. Fixes #1305
Diffstat (limited to 'tests-clar/clar_libgit2.c')
-rw-r--r--tests-clar/clar_libgit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/clar_libgit2.c b/tests-clar/clar_libgit2.c
index 88ffb2bca..63efd5954 100644
--- a/tests-clar/clar_libgit2.c
+++ b/tests-clar/clar_libgit2.c
@@ -238,7 +238,7 @@ const char* cl_git_path_url(const char *path)
cl_git_pass(git_path_prettify_dir(&path_buf, path, NULL));
cl_git_pass(git_buf_puts(&url_buf, "file://"));
-#ifdef _MSC_VER
+#ifdef GIT_WIN32
/*
* A FILE uri matches the following format: file://[host]/path
* where "host" can be empty and "path" is an absolute path to the resource.