summaryrefslogtreecommitdiff
path: root/deps/xdiff/git-xdiff.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/xdiff/git-xdiff.h')
-rw-r--r--deps/xdiff/git-xdiff.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/deps/xdiff/git-xdiff.h b/deps/xdiff/git-xdiff.h
index b75dba819..1450ab3dd 100644
--- a/deps/xdiff/git-xdiff.h
+++ b/deps/xdiff/git-xdiff.h
@@ -27,11 +27,14 @@
# endif
#endif
+#define XDL_UNUSED GIT_UNUSED_ARG
+
#define xdl_malloc(x) git__malloc(x)
+#define xdl_calloc(n, sz) git__calloc(n, sz)
#define xdl_free(ptr) git__free(ptr)
#define xdl_realloc(ptr, x) git__realloc(ptr, x)
-#define XDL_BUG(msg) GIT_ASSERT(msg)
+#define XDL_BUG(msg) GIT_ASSERT(!msg)
#define xdl_regex_t git_regexp
#define xdl_regmatch_t git_regmatch