Commit fe2f1a3a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

file.c: fix compilation on gcc-win32 4.4.1

Previous versions didn't seem to trigger an error here.
parent b9bf6dc0
...@@ -134,6 +134,7 @@ struct access_sys_t ...@@ -134,6 +134,7 @@ struct access_sys_t
bool b_pace_control; bool b_pace_control;
}; };
#ifndef WIN32
static bool IsRemote (int fd) static bool IsRemote (int fd)
{ {
#ifdef HAVE_FSTATFS #ifdef HAVE_FSTATFS
...@@ -166,6 +167,7 @@ static bool IsRemote (int fd) ...@@ -166,6 +167,7 @@ static bool IsRemote (int fd)
#endif #endif
} }
#endif
#ifndef HAVE_POSIX_FADVISE #ifndef HAVE_POSIX_FADVISE
# define posix_fadvise(fd, off, len, adv) # define posix_fadvise(fd, off, len, adv)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment