Przemyslaw, it builds ok if I add
#if defined( HB_OS_OS2 ) #include <sys/stat.h> #define S_IREAD S_IRUSR #define S_IWRITE S_IWUSR #define S_IEXEC S_IXUSR ssize_t pread(int, void *, size_t, off_t); ssize_t pwrite(int, const void *, size_t, off_t); #endif after harbour headers have been included. Can this be ok, given a working pread/pwrint inside runtime dll? Thanks. Maurilio. Maurilio Longo wrote: >> So i did try to add to filesys.c only those defines and it seems to compile >> ok. >> > Uhm, no, with __XSI_VISIBLE I have a few more errors, tomorrow I'll > investigate more. > > Maueilio. > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour