win32: add define for S_IFLNK

Add a define for S_IFLNK to win32. Even if windows does not have this
file type locally, it can still encounter them from an nfs server.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
libnfs-4.0.0-vitalif
Ronnie Sahlberg 2015-01-12 20:26:03 -08:00
parent df137c4ac9
commit a5119185cb
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ typedef int socklen_t;
#define F_GETFL 3
#define F_SETFL 4
#ifndef S_IFLNK
#define S_IFLNK 0xA000 /* Link */
#endif
#ifndef S_IFIFO
#define S_IFIFO 0x1000 /* FIFO */
#endif