On Thursday 13 November 2014 22:11:35 Lubomir I. Ivanov wrote:
> access() is in unistd.h because it's POSIX.
> Win32 has it in io.h for some reason (or to try to make sense), but
> looking at MINGW's unistd.h it includes io.h, so it's OK for windows.c
> to include unistd.h as well.

unistd stands for "UNIX standard", which Windows ain't. That's why this header 
doesn't exist on Windows, in general. MinGW is just being nice.

> ...until we attempt building with MSVC and fail miserably on many levels.

That's a project by itself.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to