]> git.proxmox.com Git - libgit2.git/commitdiff
tests-clar: ifdef GIT_WIN32 win helper functions
authorMichael Schubert <schu@schu.io>
Thu, 24 Jan 2013 19:38:01 +0000 (20:38 +0100)
committerMichael Schubert <schu@schu.io>
Fri, 25 Jan 2013 12:07:26 +0000 (13:07 +0100)
tests-clar/checkout/crlf.c

index 259e91c9f7c27392727511fc086b2fa07c3f4978..a4eb2d3e0e166b2967ba2e41f41e349645ee3355 100644 (file)
@@ -28,6 +28,7 @@ void test_checkout_crlf__cleanup(void)
        cl_git_sandbox_cleanup();
 }
 
+#ifdef GIT_WIN32
 static void set_config_entry_to(const char *entry_name, bool value)
 {
        git_config *cfg;
@@ -42,6 +43,7 @@ static void set_core_autocrlf_to(bool value)
 {
        set_config_entry_to("core.autocrlf", value);
 }
+#endif
 
 void test_checkout_crlf__detect_crlf_autocrlf_false(void)
 {