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;
#if defined (__APPLE__)
PluginsDir = GetBundleDirectory();
PluginsDir += DIR_SEP;
PluginsDir += PLUGINS_DIR;
#elsif __linux__
pluginsDir = GetBundleDirectory();
pluginsDir += DIR_SEP;
pluginsDir += PLUGINS_DIR;
#elif defined __linux__
pluginsDir = PLUGINS_DIR;
// FIXME global install
#else
@ -551,7 +551,7 @@ std::string GetSysDirectory()
sysDir = GetBundleDirectory();
sysDir += DIR_SEP;
sysDir += SYSDATA_DIR;
#elsif __linux__
#elif defined __linux__
sysDir = SYSDATA_DIR;
// FIXME global install
#else