Merge pull request #4020 from sethjackson/uv-include

[RFC] Windows: Include <uv.h> for S_IFLNK
This commit is contained in:
Michael Reed
2016-01-17 11:56:47 -05:00

View File

@@ -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", ""}