summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:16:51 +0000
committerkhan <khan@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-07 00:16:51 +0000
commitfadec241213f193c6e1ffcf2033412fe356de0de (patch)
tree76c2e81cb4ecf30110d84cedbc8ba3f93ead30be /gcc/prefix.c
parent485b043bb20973fe7095e9cf71803f331da18a34 (diff)
downloadgcc-fadec241213f193c6e1ffcf2033412fe356de0de.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index 687d559949c..9d7bd612b0a 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -82,17 +82,6 @@ static char *lookup_key PROTO((char *));
static HKEY reg_key = (HKEY) INVALID_HANDLE_VALUE;
#endif
-#ifndef 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 */
-
/* Given KEY, as above, return its value. */
static const char *