On 11/7/14, Dongsheng Song <[email protected]> wrote:
> If we define _POSIX_, then getpid (process.h) was hidden.
> Is it correct ?
>
> PS: MSVC 2012 is the last compiler which use _POSIX_, MSVC 2013 do not
> use _POSIX_ anymore.
> MSVC 2012/2013 guard getpid with !__STDC__.

I believe (but not necessarily correct about iıt) that MSVC's _POSIX
symbol is intended for diffrerent purposes, i.e. windows posix subsystem,
and I believe that we are doing a wrong thing with having those _POSIX
ifdefs in our headers..  Someone correct me if I'm wrong.

--
O.S.

------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to