version 1.1.1.1, 2012/05/29 09:29:43
|
version 1.1.1.2, 2021/03/17 13:38:46
|
Line 1
|
Line 1
|
/* File names on MS-DOS/Windows systems. |
/* File names on MS-DOS/Windows systems. |
|
|
Copyright (C) 2000-2001, 2004-2006, 2009-2011 Free Software Foundation, Inc. | Copyright (C) 2000-2001, 2004-2006, 2009-2019 Free Software Foundation, Inc. |
|
|
This program is free software: you can redistribute it and/or modify |
This program is free software: you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
Line 13
|
Line 13
|
GNU General Public License for more details. |
GNU General Public License for more details. |
|
|
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. | along with this program. If not, see <https://www.gnu.org/licenses/>. |
|
|
From Paul Eggert and Jim Meyering. */ |
From Paul Eggert and Jim Meyering. */ |
|
|
#ifndef _DOSNAME_H |
#ifndef _DOSNAME_H |
#define _DOSNAME_H |
#define _DOSNAME_H |
|
|
#if (defined _WIN32 || defined __WIN32__ || \ | #if (defined _WIN32 || defined __CYGWIN__ \ |
defined __MSDOS__ || defined __CYGWIN__ || \ | || defined __EMX__ || defined __MSDOS__ || defined __DJGPP__) |
defined __EMX__ || defined __DJGPP__) | |
/* This internal macro assumes ASCII, but all hosts that support drive |
/* This internal macro assumes ASCII, but all hosts that support drive |
letters use ASCII. */ |
letters use ASCII. */ |
# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ |
# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ |