From 296752568f1a653a1ac3f943d69cec0a2c9f0a6f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 20 Jan 1995 23:36:39 +0000 Subject: [PATCH] (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined. --- src/s/msdos.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/s/msdos.h b/src/s/msdos.h index 8f3699eff62..7d43db628a3 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h @@ -206,6 +206,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ likes that */ #define FILE_SYSTEM_CASE Fdowncase +/* Define this to be the separator between devices and paths */ +#define DEVICE_SEP ':' + +/* We'll support either convention on MSDOG. */ +#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/' || (_c_) == '\\') +#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_) || IS_DEVICE_SEP (_c_)) + /* bcopy under djgpp is quite safe */ #define GAP_USE_BCOPY #define BCOPY_UPWARD_SAFE 1 -- 2.39.5