Make phtread a non-optional requirement
This commit is contained in:
parent
2c864a296c
commit
1a95b536de
4 changed files with 3 additions and 34 deletions
|
@ -29,10 +29,7 @@
|
|||
#include <dbus-c++/config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
||||
#include "api.h"
|
||||
|
@ -143,15 +140,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
#if defined HAVE_PTHREAD_H
|
||||
|
||||
pthread_mutex_t _mutex;
|
||||
|
||||
#elif defined HAVE_WIN32
|
||||
|
||||
//TODO: use a critical section
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
class DXXAPI DefaultMainLoop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue