1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-31 09:32:03 +02:00

* Unbreak windows compile.

This commit is contained in:
Christian Muehlhaeuser
2011-02-14 17:49:28 +01:00
parent 7a081128e6
commit 496a09dc81
3 changed files with 7 additions and 3 deletions

View File

@@ -364,13 +364,13 @@ target_link_libraries( tomahawklib
${QT_LIBRARIES}
${OS_SPECIFIC_LINK_LIBRARIES}
${LIBECHONEST_LIBRARY}
tomahawk_jdns
portfwd
qjson
mad
vorbisfile
ogg
FLAC++
tomahawk_jdns
${CLUCENE_LIBRARY}
)

View File

@@ -45,6 +45,8 @@
// Maximum number of concurrent read locks. Must not be greater than MAXIMUM_WAIT_OBJECTS
#define MAX_READERS MAXIMUM_WAIT_OBJECTS
#define TCHAR WCHAR
Qt::HANDLE QtLockedFile::getMutexHandle(int idx, bool doCreate)
{
if (mutexname.isEmpty()) {