Skip to content

Commit

Permalink
[core] Fixed Windows build with latest pthreads
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Mar 10, 2021
1 parent 8209e5a commit a1bcd4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/sync.h
Expand Up @@ -754,7 +754,7 @@ class CThread
template <class Stream>
inline Stream& operator<<(Stream& str, const CThread::id& cid)
{
#if defined(_WIN32) && defined(PTW32_VERSION)
#if defined(_WIN32) && (defined(PTW32_VERSION) || defined (__PTW32_VERSION))
// This is a version specific for pthread-win32 implementation
// Here pthread_t type is a structure that is not convertible
// to a number at all.
Expand Down

0 comments on commit a1bcd4a

Please sign in to comment.