diff options
| author | nakeee <nakeee@gmail.com> | 2009-03-01 23:06:29 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-03-01 23:06:29 +0000 |
| commit | 834ec30d4e515817b31fed90a2a20880ee531b70 (patch) | |
| tree | 49c853a33bd5ddc26cd6661c12b1b7f34bb93307 /Source/Core | |
| parent | 9b00d84c5de72e2331801b3e029a6516b48330e8 (diff) | |
osx compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2508 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/Src/FileUtil.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/Common/Src/FileUtil.cpp b/Source/Core/Common/Src/FileUtil.cpp index 2a338d0d68..7059486303 100644 --- a/Source/Core/Common/Src/FileUtil.cpp +++ b/Source/Core/Common/Src/FileUtil.cpp @@ -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 |
