about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index ea4e7231..c99c51df 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.272 2014/12/22 00:22:55 tom Exp $
+ * $LynxId: LYUtils.c,v 1.273 2014/12/30 22:16:41 Gisle.Vanem Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -5183,7 +5183,7 @@ static char *HomeEnv(void)
 {
     char *result = CheckDir(LYGetEnv("HOME"));
 
-#if defined (USE_DOS_DRIVES)
+#if defined (USE_DOS_DRIVES) && defined(_WIN32)
     if (result == 0) {
 	char *head;
 	char *leaf;