mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Windows (compiler specific) includes for libpbd
This commit is contained in:
parent
e4ab2ffbfb
commit
7b480eaa27
14 changed files with 78 additions and 6 deletions
|
|
@ -28,6 +28,14 @@
|
|||
#include <fst.h>
|
||||
#endif
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
DECLARE_DEFAULT_COMPARISONS(pthread_t) // Needed for 'DECLARE_DEFAULT_COMPARISONS'. Objects in an STL container can be
|
||||
// searched and sorted. Thus, when instantiating the container, MSVC complains
|
||||
// if the type of object being contained has no appropriate comparison operators
|
||||
// defined (specifically, if operators '<' and '==' are undefined). This seems
|
||||
// to be the case with ptw32 'pthread_t' which is a simple struct.
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef std::list<pthread_t> ThreadMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue