From ffcf1df72849711b23ff1d184df69f01826edba9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 22 Jun 2012 02:24:53 +0300 Subject: Fix compilation warnings in windows builds. --- src/utils/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/paths.cpp') diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index 7cb600a1a..1a2ec1b5c 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -145,7 +145,7 @@ std::string getDesktopDir() if (dir.empty()) dir = getSpecialFolderLocation(CSIDL_DESKTOP); return dir; -#elif USE_X11 +#elif defined USE_X11 char *xdg = getenv("XDG_CONFIG_HOME"); std::string file; if (!xdg) -- cgit v1.2.3-70-g09d2