]> git.eshelyaron.com Git - emacs.git/commitdiff
(DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Defined.
authorRichard M. Stallman <rms@gnu.org>
Fri, 20 Jan 1995 23:36:39 +0000 (23:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 20 Jan 1995 23:36:39 +0000 (23:36 +0000)
src/s/msdos.h

index 8f3699eff623063dd48e5e1676c481973a9ab128..7d43db628a32036e753a51f138e4ba26d0ac7e69 100644 (file)
@@ -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