mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #3824 from sethjackson/pstrcmp
Windows: Remove UNIX guard for pstrcmp()
This commit is contained in:
commit
2b12406f2e
@ -467,16 +467,13 @@ bool path_has_wildcard(const char_u *p)
|
||||
return false;
|
||||
}
|
||||
|
||||
#if defined(UNIX)
|
||||
/*
|
||||
* Unix style wildcard expansion code.
|
||||
* It's here because it's used both for Unix and Mac.
|
||||
*/
|
||||
static int pstrcmp(const void *a, const void *b)
|
||||
{
|
||||
return pathcmp(*(char **)a, *(char **)b, -1);
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Checks if a path has a character path_expand can expand.
|
||||
/// @param p The path to expand.
|
||||
|
Loading…
Reference in New Issue
Block a user