diff options
author | Patrick Steinhardt <ps@pks.im> | 2018-02-28 14:59:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 14:59:09 +0100 |
commit | fb884c6267b5053c62c828e9e4cf3c9111fb94b2 (patch) | |
tree | bb74f4497c82f75b98ecc125cf583d7d35a5ae08 | |
parent | c9d59c6140fc365eb7ab950fb1a33187a949d403 (diff) | |
parent | a33deeb4ae86a1e0023d23521785e972e59258d0 (diff) | |
download | libgit2-fb884c6267b5053c62c828e9e4cf3c9111fb94b2.tar.gz |
Merge pull request #4555 from libgit2/ethomson/strncmp_stdcall
win32: strncmp -> git__strncmp for win32 STDCALL
-rw-r--r-- | src/ignore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ignore.c b/src/ignore.c index ddbcaf3bf..dddd7e81e 100644 --- a/src/ignore.c +++ b/src/ignore.c @@ -59,7 +59,7 @@ static int does_negate_pattern(git_attr_fnmatch *rule, git_attr_fnmatch *neg) if (neg->flags & GIT_ATTR_FNMATCH_ICASE) cmp = git__strncasecmp; else - cmp = strncmp; + cmp = git__strncmp; /* If lengths match we need to have an exact match */ if (rule->length == neg->length) { |