summaryrefslogtreecommitdiff
path: root/src/Initialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Initialize.c')
-rw-r--r--src/Initialize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Initialize.c b/src/Initialize.c
index 659287a..2a87839 100644
--- a/src/Initialize.c
+++ b/src/Initialize.c
@@ -376,6 +376,7 @@ static void CombineAppUserDefaults(
Boolean deallocate = False;
if (!(path = getenv("XUSERFILESEARCHPATH"))) {
+#if defined(WIN32) && defined(__MINGW32__)
char *old_path;
char homedir[PATH_MAX];
GetRootDirName(homedir, PATH_MAX);
@@ -396,6 +397,7 @@ static void CombineAppUserDefaults(
old_path, old_path, old_path, homedir );
}
deallocate = True;
+#endif
}
filename = XtResolvePathname(dpy, NULL, NULL, NULL, path, NULL, 0, NULL);