--- linuxsampler/trunk/src/common/Mutex.h 2007/11/14 21:39:45 1480 +++ linuxsampler/trunk/src/common/Mutex.h 2007/11/14 23:42:15 1481 @@ -24,7 +24,11 @@ #ifndef __MUTEX_H__ #define __MUTEX_H__ +#if defined(WIN32) +#include +#else #include +#endif namespace LinuxSampler { @@ -86,8 +90,12 @@ void Unlock(); protected: + #if defined(WIN32) + HANDLE hMutex; + #else pthread_mutex_t __posix_mutex; pthread_mutexattr_t __posix_mutexattr; + #endif }; } // namespace LinuxSampler