1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 18:14:50 +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()) {

View File

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