# HG changeset patch # User Richard M. Stallman # Date 790644999 0 # Node ID 4d77d5230bff8a4fe523fb8c7131c6a637714e78 # Parent 6368f8d9bf07441cc8630b3db5ab3d4e7b611abe (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined. diff -r 6368f8d9bf07 -r 4d77d5230bff src/s/msdos.h --- a/src/s/msdos.h Fri Jan 20 23:36:07 1995 +0000 +++ b/src/s/msdos.h Fri Jan 20 23:36:39 1995 +0000 @@ -206,6 +206,13 @@ 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