Mercurial > emacs
changeset 10500:4d77d5230bff
(DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 20 Jan 1995 23:36:39 +0000 |
parents | 6368f8d9bf07 |
children | 19c4a9ef23e5 |
files | src/s/msdos.h |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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