osx compile fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2508 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-03-01 23:06:29 +00:00
parent 9b00d84c5d
commit 834ec30d4e

View File

@ -526,10 +526,10 @@ std::string GetPluginsDirectory()
std::string pluginsDir; std::string pluginsDir;
#if defined (__APPLE__) #if defined (__APPLE__)
PluginsDir = GetBundleDirectory(); pluginsDir = GetBundleDirectory();
PluginsDir += DIR_SEP; pluginsDir += DIR_SEP;
PluginsDir += PLUGINS_DIR; pluginsDir += PLUGINS_DIR;
#elsif __linux__ #elif defined __linux__
pluginsDir = PLUGINS_DIR; pluginsDir = PLUGINS_DIR;
// FIXME global install // FIXME global install
#else #else
@ -551,7 +551,7 @@ std::string GetSysDirectory()
sysDir = GetBundleDirectory(); sysDir = GetBundleDirectory();
sysDir += DIR_SEP; sysDir += DIR_SEP;
sysDir += SYSDATA_DIR; sysDir += SYSDATA_DIR;
#elsif __linux__ #elif defined __linux__
sysDir = SYSDATA_DIR; sysDir = SYSDATA_DIR;
// FIXME global install // FIXME global install
#else #else