aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-12-12 14:45:46 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-12-12 14:45:46 -0500
commit2b12406f2e1d3b817fa770e61ce768a2c42156f9 (patch)
treeef462667bfd71acc674ba8c13e0a28711aafa253
parent3b74ee1ce9a84fcf79eae95cd04152e5c6730a0f (diff)
parentfe143ac439e793c4b3c486d0a885c9bf3dc19ac8 (diff)
downloadrneovim-2b12406f2e1d3b817fa770e61ce768a2c42156f9.tar.gz
rneovim-2b12406f2e1d3b817fa770e61ce768a2c42156f9.tar.bz2
rneovim-2b12406f2e1d3b817fa770e61ce768a2c42156f9.zip
Merge pull request #3824 from sethjackson/pstrcmp
Windows: Remove UNIX guard for pstrcmp()
-rw-r--r--src/nvim/path.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c
index 877ef1565a..253035ed99 100644
--- a/src/nvim/path.c
+++ b/src/nvim/path.c
@@ -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.