Now pread and pwrite use is required for multithread

We need to support concurrent access at the same file handle
from multiple threads, and they cannot share the same file pointer.
This commit is contained in:
Andrea Mazzoleni 2016-01-04 17:53:04 +01:00
parent 62b7587c3a
commit 18cc80bd7e
4 changed files with 1 additions and 58 deletions

View file

@ -109,8 +109,6 @@
#define write windows_write
#undef lseek
#define lseek windows_lseek
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#undef pread
#define pread windows_pread
#undef pwrite