From 834ec30d4e515817b31fed90a2a20880ee531b70 Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 1 Mar 2009 23:06:29 +0000 Subject: [PATCH] osx compile fix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2508 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/FileUtil.cpp | 10 +++++----- 1 file 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