From d5b6516da59be3d5c0481f7982a2f7deb0e398bb Mon Sep 17 00:00:00 2001 From: Mumit Khan Date: Fri, 7 Jan 2000 00:16:51 +0000 Subject: cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros. 2000-01-06 Mumit Khan * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros. * collect2.c: Likewise. * cppinit.c: Likewise. * dwarf2out.c: Likewise. * gcc.c: Likewise. * gcov.c: Likewise. * prefix.c: Likewise. * rtl.c: Likewise. * toplev.c: Likewise. * system.h: And move to here. From-SVN: r31264 --- gcc/collect2.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'gcc/collect2.c') diff --git a/gcc/collect2.c b/gcc/collect2.c index 18d7fb8..bfab130 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -49,18 +49,6 @@ Boston, MA 02111-1307, USA. */ #include "obstack.h" #include "intl.h" -#ifndef DIR_SEPARATOR -# define DIR_SEPARATOR '/' -# define IS_DIR_SEPARATOR(ch) ((ch) == '/') -#else /* DIR_SEPARATOR */ -# ifndef DIR_SEPARATOR_2 -# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) -# else /* DIR_SEPARATOR && DIR_SEPARATOR_2 */ -# define IS_DIR_SEPARATOR(ch) \ - (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) -# endif /* DIR_SEPARATOR && DIR_SEPARATOR_2 */ -#endif /* DIR_SEPARATOR */ - /* Obstack allocation and deallocation routines. */ #define obstack_chunk_alloc xmalloc #define obstack_chunk_free free @@ -648,11 +636,6 @@ is_ctor_dtor (s) return 0; } -/* By default, colon separates directories in a path. */ -#ifndef PATH_SEPARATOR -#define PATH_SEPARATOR ':' -#endif - /* We maintain two prefix lists: one from COMPILER_PATH environment variable and one from the PATH variable. */ -- cgit v1.1