Hi all,

Please review a trivial change that defines which threading model is
used on Windows, so applications can check it. This is also useful for
system headers, since some headers should be switched off if pthread
is the threading model (Currently they are included unconditionally on
Windows). In effect this merely reworks some existing code that
defines __USING_MCFGTHREAD__ and adds some new logic to it to define
__USING_POSIXTHREAD__ whenever appropriate. Do note that I don't have any
write access, so whoever reviews this for me has to help me push it as
well

best regards,
Julian

P.S. This has been resent since my email client kept mangling the
tabs, so I had to send it as a patch file instead

gcc/config/mingw/ChangeLog:

* mingw32.h: Add new define for POSIX threads

Attachment: 0001-Define-which-threading-model-is-in-use-on-Windows.patch
Description: Binary data

Reply via email to