diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-07-16 18:00:49 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-07-16 18:00:49 +0100 |
commit | 7b480eaa27d73e2e5c21c6ac785a1aa2fb3aa51a (patch) | |
tree | 997d0988cda21ea79ee9675f31b6b79e99335d46 /libs/pbd/pbd/abstract_ui.cc | |
parent | e4ab2ffbfbe12cea63e1046b37184ddf32d9ba47 (diff) |
Windows (compiler specific) includes for libpbd
Diffstat (limited to 'libs/pbd/pbd/abstract_ui.cc')
-rw-r--r-- | libs/pbd/pbd/abstract_ui.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index 02b42fdead..9c405745ac 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -28,6 +28,15 @@ #include "i18n.h" +#ifdef COMPILER_MSVC +#include <ardourext/misc.h> // 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. +DECLARE_DEFAULT_COMPARISONS(pthread_t) +#endif + using namespace std; template<typename RequestBuffer> void |