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

Fix win* compilation and cosmetics

Sorry for the mistake
parent 72f56af8
......@@ -363,9 +363,9 @@ block_t *block_mmap_Alloc (void *addr, size_t length)
#ifdef WIN32
# include <io.h>
#ifdef UNDER_CE
#define _get_osfhandle(a) ((long) (a))
#endif
# ifdef UNDER_CE
# define _get_osfhandle(a) ((long) (a))
# endif
static
ssize_t pread (int fd, void *buf, size_t count, off_t offset)
......@@ -383,9 +383,7 @@ ssize_t pread (int fd, void *buf, size_t count, off_t offset)
return written;
return -1;
}
#endif
#ifndef HAVE_PREAD
#elif !defined( HAVE_PREAD )
static
ssize_t pread(int fd, const void * buf, size_t size, off_t offset) {
off_t offs0;
......
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