aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-01-02 12:35:21 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-01-02 12:35:21 -0500
commitcb625940422ddfb25fdb9a6dc6c6a26a56a228e8 (patch)
treed28dafe3bc79a0f8317ba45426066ee5c681d281 /src/nvim/os
parentc9df429887972305ecdd25e14bbbd7f0bbf5ea40 (diff)
parentb2f9bfbff0ba9925328d2f997f73734f70c6c4cf (diff)
downloadrneovim-cb625940422ddfb25fdb9a6dc6c6a26a56a228e8.tar.gz
rneovim-cb625940422ddfb25fdb9a6dc6c6a26a56a228e8.tar.bz2
rneovim-cb625940422ddfb25fdb9a6dc6c6a26a56a228e8.zip
Merge pull request #3927 from sethjackson/if-cscope
Windows: Bring back code branch for if_cscope
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/os_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/os/os_defs.h b/src/nvim/os/os_defs.h
index 7d77899287..26e479492e 100644
--- a/src/nvim/os/os_defs.h
+++ b/src/nvim/os/os_defs.h
@@ -57,6 +57,9 @@
#if !defined(S_ISREG) && defined(S_IFREG)
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif
+#if !defined(S_ISLNK) && defined(S_IFLNK)
+# define S_IFLNK(m) (((m) & S_IFMT) == S_IFLNK)
+#endif
#if !defined(S_ISBLK) && defined(S_IFBLK)
# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
#endif