Ticket #4849: mingw64-thread.patch
File mingw64-thread.patch, 569 bytes (added by , 12 years ago) |
---|
-
thread.cpp
10 10 #include <boost/thread/thread.hpp> 11 11 #include <algorithm> 12 12 #include <windows.h> 13 14 #if defined(__MINGW64__) 15 #undef InterlockedIncrement 16 #undef InterlockedDecrement 17 #undef InterlockedCompareExchange 18 #undef InterlockedExchange 19 #undef InterlockedExchangeAdd 20 #undef InterlockedCompareExchangePointer 21 #undef InterlockedExchangePointer 22 #endif 23 24 13 25 #ifndef UNDER_CE 14 26 #include <process.h> 15 27 #endif