1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-15 10:33:59 +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} ${QT_LIBRARIES}
${OS_SPECIFIC_LINK_LIBRARIES} ${OS_SPECIFIC_LINK_LIBRARIES}
${LIBECHONEST_LIBRARY} ${LIBECHONEST_LIBRARY}
tomahawk_jdns
portfwd portfwd
qjson qjson
mad mad
vorbisfile vorbisfile
ogg ogg
FLAC++ FLAC++
tomahawk_jdns
${CLUCENE_LIBRARY} ${CLUCENE_LIBRARY}
) )

View File

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

View File

@@ -23,6 +23,8 @@
#include "qjdns.h" #include "qjdns.h"
#include "../jdns_export.h"
class JDnsShared; class JDnsShared;
class JDnsSharedPrivate; class JDnsSharedPrivate;
class JDnsSharedRequestPrivate; class JDnsSharedRequestPrivate;
@@ -194,7 +196,7 @@ pub->publish(QJDns::Unique, rec);
\sa JDnsShared \sa JDnsShared
*/ */
class JDnsSharedRequest : public QObject class JDNS_EXPORT JDnsSharedRequest : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
@@ -401,7 +403,7 @@ dns->addInterface(addr);
\sa JDnsSharedRequest \sa JDnsSharedRequest
*/ */
class JDnsShared : public QObject class JDNS_EXPORT JDnsShared : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public: