summaryrefslogtreecommitdiff
path: root/tests-clar/clar_libgit2.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/clar_libgit2.h')
-rw-r--r--tests-clar/clar_libgit2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests-clar/clar_libgit2.h b/tests-clar/clar_libgit2.h
index 3fcf45a37..55c0764a3 100644
--- a/tests-clar/clar_libgit2.h
+++ b/tests-clar/clar_libgit2.h
@@ -5,6 +5,10 @@
#include <git2.h>
#include "common.h"
+#if (defined(GIT_WIN32) || defined(__APPLE__))
+#define CASE_INSENSITIVE_FILESYSTEM 1
+#endif
+
/**
* Replace for `clar_must_pass` that passes the last library error as the
* test failure message.