commit 401a3ff69c21c4ec77213ba89590d6243d3d98f1
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon Oct 10 09:11:39 2016 +0200
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon Oct 10 09:11:49 2016 +0200
i_iwad: comment out AddXdgDirs() if building on _WIN32 systems
---
src/d_iwad.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/d_iwad.c b/src/d_iwad.c
index a586fbd3..677debf7 100644
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -592,6 +592,7 @@ static void AddIWADPath(char *path, char *suffix)
free(path);
}
+#ifndef _WIN32
// Add standard directories where IWADs are located on Unix systems.
// To respect the freedesktop.org specification we support overriding
// using standard environment variables. See the XDG Base Directory
@@ -647,6 +648,7 @@ static void AddXdgDirs(void)
// XDG_DATA_DIRS mechanism, through which it can be overridden.
AddIWADPath(env, "/games/doom");
}
+#endif
//
// Build a list of IWAD files