aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dosname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dosname.h')
-rw-r--r--lib/dosname.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dosname.h b/lib/dosname.h
index 66486d5209d..fef3b6daa1f 100644
--- a/lib/dosname.h
+++ b/lib/dosname.h
@@ -20,9 +20,8 @@
20#ifndef _DOSNAME_H 20#ifndef _DOSNAME_H
21#define _DOSNAME_H 21#define _DOSNAME_H
22 22
23#if (defined _WIN32 || defined __WIN32__ || \ 23#if (defined _WIN32 || defined __CYGWIN__ \
24 defined __MSDOS__ || defined __CYGWIN__ || \ 24 || defined __EMX__ || defined __MSDOS__ || defined __DJGPP__)
25 defined __EMX__ || defined __DJGPP__)
26 /* This internal macro assumes ASCII, but all hosts that support drive 25 /* This internal macro assumes ASCII, but all hosts that support drive
27 letters use ASCII. */ 26 letters use ASCII. */
28# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ 27# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \