From 531eeb60aa4a8e32ae28da7b61095ec706f86e2d Mon Sep 17 00:00:00 2001 From: Wyatt Olson Date: Thu, 10 Jun 2010 17:57:06 -0600 Subject: [PATCH] Fixed compile error with cache location checking --- rtgui/options.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rtgui/options.cc b/rtgui/options.cc index d3ab4cbeb..0f357b63c 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -422,9 +422,8 @@ void Options::load () { g_mkdir_with_parents (profdir.c_str(), 511); options.saveToFile (rtdir + "/options"); } -#if defined(__MINGW32__) || defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +#ifdef _WIN32 cacheBaseDir = rtdir + "/cache"; - } #else cacheBaseDir = Glib::ustring(g_get_user_cache_dir()) + "/RawTherapee"; #endif