Hi,

Is it possible to detect the threading model (win32 / pthreads) with the
preprocessor?

At least I would like to make the code compile in these two cases
 - mingw-w64 with native win32 thread support : use win32 api
 - mingw-w64 with pthreads or linux gcc : use c++11

Will _GLIBCXX_HAS_GTHREADS work in these cases or is this mingw-only?

Thanks!

Etienne
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to