summaryrefslogtreecommitdiff
path: root/src/utils/paths.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-22 02:24:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-22 12:39:21 +0300
commitffcf1df72849711b23ff1d184df69f01826edba9 (patch)
tree51028276f4fc3d928f107b0ff4a68ed1789e4eb8 /src/utils/paths.cpp
parent319d525f993b0b95205df1cd431985ce575c4049 (diff)
downloadmanaverse-ffcf1df72849711b23ff1d184df69f01826edba9.tar.gz
manaverse-ffcf1df72849711b23ff1d184df69f01826edba9.tar.bz2
manaverse-ffcf1df72849711b23ff1d184df69f01826edba9.tar.xz
manaverse-ffcf1df72849711b23ff1d184df69f01826edba9.zip
Fix compilation warnings in windows builds.
Diffstat (limited to 'src/utils/paths.cpp')
-rw-r--r--src/utils/paths.cpp2
1 files changed, 1 insertions, 1 deletions
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)