_MSC_VER is a check for MSVC not Windows. unistd.h is available for
Cygwin, for example.

- Noel

On 6 March 2010 19:27, Konstantin Tokarev <[email protected]> wrote:
> I've found this fragment in some headers:
> #ifndef _MSC_VER
>  #include <unistd.h>
> #endif
>
> However, it's not a good check for Windows (there some other Windows comilers 
> behind MSVC). On the other hand, unistd.h is the part of POSIX API
> --
> Regards,
> Konstantin
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> OpenBabel-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
OpenBabel-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to