Fixed some portability issues for Windows.

This commit is contained in:
Andrea Mazzoleni 2011-03-20 13:54:05 +01:00
parent bb350beb63
commit 8fb43ddefa
9 changed files with 688 additions and 37 deletions

View file

@ -131,9 +131,11 @@ int parity_open(const char* path)
return f;
#if HAVE_POSIX_FADVISE
bail:
close(f);
return -1;
#endif
}
int parity_sync(const char* path, int f)