Closed TheChief79 closed 12 years ago
Just a small fix to make the tsreader lib of the MediaPortal compile under OSX.
--- a/xbmc/pvrclients/MediaPortal/lib/tsreader/FileSMB.h +++ b/xbmc/pvrclients/MediaPortal/lib/tsreader/FileSMB.h @@ -38,7 +38,8 @@ public: void Deinit(); void Purge(); //void PurgeEx(const CURL& url); -#ifdef TARGET_LINUX +#if defined(TARGET_LINUX) || defined(TARGET_DARWIN) void CheckIfIdle(); void SetActivityTime(); void AddActiveConnection(); @@ -52,7 +53,7 @@ private: SMBCCTX *m_context; CStdString m_strLastHost; CStdString m_strLastShare; -#ifdef TARGET_LINUX +#if defined(TARGET_LINUX) || defined(TARGET_DARWIN) int m_OpenConnections; unsigned int m_IdleTimeout; #endif
Seems to be fixed. Thanks
Just a small fix to make the tsreader lib of the MediaPortal compile under OSX.