summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>2000-01-07 00:16:51 +0000
committerMumit Khan <khan@gcc.gnu.org>2000-01-07 00:16:51 +0000
commitd5b6516da59be3d5c0481f7982a2f7deb0e398bb (patch)
tree76c2e81cb4ecf30110d84cedbc8ba3f93ead30be /gcc/collect2.c
parent44545f2790236cd08166d65185dc9ad879b9fef0 (diff)
downloadgcc-d5b6516da59be3d5c0481f7982a2f7deb0e398bb.tar.gz
cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros.
2000-01-06 Mumit Khan <khan@xraylith.wisc.edu> * 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
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 18d7fb85a1e..bfab130b407 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. */