socket.io-client-cpp icon indicating copy to clipboard operation
socket.io-client-cpp copied to clipboard

add support for mingw-std-threads

Open joelnordell opened this issue 9 years ago • 1 comments

This allows socket.io-client-cpp to build successfully for me using the MinGW cross-compiler from mxe.cc:

i686-w64-mingw32.static-cmake \
  -DBOOST_INCLUDEDIR:STRING=/opt/mxe/usr/i686-w64-mingw32.static/include/boost \
  -DBOOST_LIBRARYDIR=/opt/mxe/usr/i686-w64-mingw32.static/lib \
  -DBOOST_VER:STRING=1.60.0 \
  -DMINGW_STD_THREADS=$(pwd)/../mingw-std-threads

joelnordell avatar Dec 07 '16 19:12 joelnordell

Hi, it seems that recent implementations of MinGW already include std::thread support. Is this PR still relevant?

jmigual avatar Mar 09 '22 14:03 jmigual