Mercurial > emacs
comparison lib-src/make-docfile.c @ 62292:3c46f9593ea1
(DIRECTORY_SEP): New macro.
(IS_DIRECTORY_SEP): Use it.
| author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
|---|---|
| date | Fri, 13 May 2005 08:53:17 +0000 |
| parents | 3f6c5215bb43 |
| children | 23a17af379b1 f042e7c0fe20 |
comparison
equal
deleted
inserted
replaced
| 62291:461736030d14 | 62292:3c46f9593ea1 |
|---|---|
| 58 #else /* not DOS_NT */ | 58 #else /* not DOS_NT */ |
| 59 #define READ_TEXT "r" | 59 #define READ_TEXT "r" |
| 60 #define READ_BINARY "r" | 60 #define READ_BINARY "r" |
| 61 #endif /* not DOS_NT */ | 61 #endif /* not DOS_NT */ |
| 62 | 62 |
| 63 #ifndef DIRECTORY_SEP | |
| 64 #ifdef MAC_OS8 | |
| 65 #define DIRECTORY_SEP ':' | |
| 66 #else /* not MAC_OS8 */ | |
| 67 #define DIRECTORY_SEP '/' | |
| 68 #endif /* not MAC_OS8 */ | |
| 69 #endif | |
| 70 | |
| 63 #ifndef IS_DIRECTORY_SEP | 71 #ifndef IS_DIRECTORY_SEP |
| 64 #define IS_DIRECTORY_SEP(_c_) ((_c_) == '/') | 72 #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) |
| 65 #endif | 73 #endif |
| 66 | 74 |
| 67 int scan_file (); | 75 int scan_file (); |
| 68 int scan_lisp_file (); | 76 int scan_lisp_file (); |
| 69 int scan_c_file (); | 77 int scan_c_file (); |
