summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-11-13 22:37:20 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-11-13 22:37:20 +0900
commit6c268fdda9dcc421e2bee1ce76496d3e9f96397f (patch)
tree2181f2032e963eef5f5d95968db797435cfefd83 /compat/mingw.h
parentMerge branch 'js/mingw-isatty-and-dup2' (diff)
parentmingw: unset PERL5LIB by default (diff)
downloadtgif-6c268fdda9dcc421e2bee1ce76496d3e9f96397f.tar.xz
Merge branch 'js/mingw-perl5lib'
Windows fix. * js/mingw-perl5lib: mingw: unset PERL5LIB by default config: move Windows-specific config settings into compat/mingw.c config: allow for platform-specific core.* config settings config: rename `dummy` parameter to `cb` in git_default_config()
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index a577df0d74..2f1f8e3e05 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -11,6 +11,9 @@ typedef _sigset_t sigset_t;
#undef _POSIX_THREAD_SAFE_FUNCTIONS
#endif
+extern int mingw_core_config(const char *var, const char *value, void *cb);
+#define platform_core_config mingw_core_config
+
/*
* things that are not available in header files
*/