aboutsummaryrefslogtreecommitdiff
path: root/win32/mingw.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/mingw.c')
-rw-r--r--win32/mingw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 16e103b54..75f15aa30 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -1661,7 +1661,7 @@ const char *get_system_drive(void)
1661 } 1661 }
1662 } 1662 }
1663 1663
1664 return drive; 1664 return getenv("BB_SYSTEMROOT") ?: drive;
1665} 1665}
1666 1666
1667/* Return pointer to system drive if path is of form '/file', else NULL */ 1667/* Return pointer to system drive if path is of form '/file', else NULL */