mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
Windows: Include <uv.h> for S_IFLNK.
S_IFLNK is not defined on Windows but libuv defines it for us.
This commit is contained in:

committed by
Seth Jackson

parent
55a345c3e7
commit
d38d6486f2
@@ -5,6 +5,10 @@
|
||||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
|
||||
// Windows does not have S_IFLNK but libuv defines it
|
||||
// and sets the flag for us when calling uv_fs_stat.
|
||||
#include <uv.h>
|
||||
|
||||
#define NAME_MAX _MAX_PATH
|
||||
|
||||
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
|
||||
|
Reference in New Issue
Block a user