From: YAMAMOTO Mitsuharu Date: Fri, 13 May 2005 08:53:17 +0000 (+0000) Subject: (DIRECTORY_SEP): New macro. X-Git-Tag: ttn-vms-21-2-B4~342 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef7c480ddf4314de7f809a2b7048afe71220f86e;p=emacs.git (DIRECTORY_SEP): New macro. (IS_DIRECTORY_SEP): Use it. --- 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. */ #define READ_BINARY "r" #endif /* not DOS_NT */ +#ifndef DIRECTORY_SEP +#ifdef MAC_OS8 +#define DIRECTORY_SEP ':' +#else /* not MAC_OS8 */ +#define DIRECTORY_SEP '/' +#endif /* not MAC_OS8 */ +#endif + #ifndef IS_DIRECTORY_SEP -#define IS_DIRECTORY_SEP(_c_) ((_c_) == '/') +#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) #endif int scan_file ();