aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2005-05-13 08:53:17 +0000
committerYAMAMOTO Mitsuharu2005-05-13 08:53:17 +0000
commitef7c480ddf4314de7f809a2b7048afe71220f86e (patch)
tree748743ffb1135d8d25ba79764d5822bc39ea10f9 /lib-src/make-docfile.c
parent5a537870e39b4caf1dccc69c07b499ed9a69f8de (diff)
downloademacs-ef7c480ddf4314de7f809a2b7048afe71220f86e.tar.gz
emacs-ef7c480ddf4314de7f809a2b7048afe71220f86e.zip
(DIRECTORY_SEP): New macro.
(IS_DIRECTORY_SEP): Use it.
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index e502061b759..dafd8f8914c 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -60,8 +60,16 @@ Boston, MA 02111-1307, USA. */
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
67int scan_file (); 75int scan_file ();