#5304 daemon fails to build on mac

This commit is contained in:
Mitchell Livingston
2013-10-27 19:31:36 +00:00
parent 632edad03d
commit 4ecbb29137
4 changed files with 16 additions and 5 deletions

View File

@@ -28,7 +28,7 @@
#include <windows.h>
#include <shlobj.h> /* for CSIDL_APPDATA, CSIDL_MYDOCUMENTS */
#else
#ifdef SYS_DARWIN
#ifdef BUILD_MAC_CLIENT
#include <CoreFoundation/CoreFoundation.h>
#endif
#ifdef __HAIKU__
@@ -429,7 +429,7 @@ tr_getWebClientDir (const tr_session * session UNUSED)
else
{
#ifdef SYS_DARWIN /* on Mac, look in the Application Support folder first, then in the app bundle. */
#ifdef BUILD_MAC_CLIENT /* on Mac, look in the Application Support folder first, then in the app bundle. */
/* Look in the Application Support folder */
s = tr_buildPath (tr_sessionGetConfigDir (session), "web", NULL);