summaryrefslogtreecommitdiff
path: root/src/Intrinsic.c
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison-at-virgin.net>2008-04-29 19:45:50 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-29 19:45:50 +0100
commitcd83cf47412b4a5979e152990c3b0870751aee07 (patch)
treeb9bb4a13edad4ac4dafa65c49a1b5d2df59ec3b6 /src/Intrinsic.c
parentbb6d2a09b87560ae396085ef0981b700924333cd (diff)
Reduce the path searches on mingw
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r--src/Intrinsic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index df5c56d..3a80cb3 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -873,6 +873,11 @@ static int AccessFile (
if (access_file (path, pathbuf, len_pathbuf, pathret))
return 1;
+#if defined(WIN32) && defined(__MINGW32__)
+ /* don't try others */
+ return 0;
+#endif
+
/* try the places set in the environment */
drive = getenv ("_XBASEDRIVE");
#ifdef __UNIXOS2__