Windows code never calls dirfd, avoid warning
This commit is contained in:
@@ -656,9 +656,11 @@ int rk_flock(int fd, int operation);
|
||||
#ifdef HAVE_STRUCT_DIRENT_DD_FD
|
||||
#define dirfd(x) ((x)->dd_fd)
|
||||
#else
|
||||
#ifndef _WIN32 /* Windows code never calls dirfd */
|
||||
#error Missing dirfd() and ->dd_fd
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
ROKEN_LIB_FUNCTION time_t ROKEN_LIB_CALL tm2time (struct tm, int);
|
||||
|
||||
|
Reference in New Issue
Block a user