From cd4f0f66170c2841fd978a3193659ab7baea00d9 Mon Sep 17 00:00:00 2001 From: Max Power Date: Sat, 15 Jun 2013 15:43:02 -0400 Subject: [PATCH] Change #ifdefs to put Mac data dir in the right place --- src/hook.cpp | 2 +- src/namecoin.cpp | 2 +- src/util.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hook.cpp b/src/hook.cpp index 4c660ccc3..de12dc7c9 100644 --- a/src/hook.cpp +++ b/src/hook.cpp @@ -211,7 +211,7 @@ string GetDefaultDataDirSuffix() { // Windows return string("Namecoin"); #else -#ifdef __WXMAC_OSX__ +#ifdef MAC_OSX return string("Namecoin"); #else return string(".namecoin"); diff --git a/src/namecoin.cpp b/src/namecoin.cpp index 29d5115b7..3556ef856 100644 --- a/src/namecoin.cpp +++ b/src/namecoin.cpp @@ -2207,7 +2207,7 @@ string GetDefaultDataDirSuffix() { // Windows return string("Namecoin"); #else -#ifdef __WXMAC_OSX__ +#ifdef MAC_OSX return string("Namecoin"); #else return string(".namecoin"); diff --git a/src/util.cpp b/src/util.cpp index 21f58e047..1793fbade 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -828,7 +828,7 @@ string GetDefaultDataDir() string strHome = pszHome; if (strHome[strHome.size()-1] != '/') strHome += '/'; -#ifdef __WXMAC_OSX__ +#ifdef MAC_OSX // Mac strHome += "Library/Application Support/"; filesystem::create_directory(strHome.c_str());