From e58748cc8494d3df2d83435078e5615641ddd9da Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Thu, 11 Feb 2016 08:49:26 -0800 Subject: remove VMS stuff --- gcc/cpplib.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'gcc/cpplib.c') diff --git a/gcc/cpplib.c b/gcc/cpplib.c index c151fbf..705741f 100755 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -2942,24 +2942,6 @@ do_include (pfile, keyword) if (fbeg[-1] == '<') angle_brackets = 1; } -#ifdef VMS - else if (token == CPP_NAME) - { - /* Support '#include xyz' like VAX-C to allow for easy use of - * all the decwindow include files. It defaults to '#include - * ' and generates a warning. */ - cpp_warning (pfile, - "VAX-C-style include specification found, use '#include ' !"); - angle_brackets = 1; - - /* Append the missing `.h' to the name. */ - CPP_PUTS (pfile, ".h", 3) - CPP_NUL_TERMINATE_Q (pfile); - - fbeg = pfile->token_buffer + old_written; - fend = CPP_PWRITTEN (pfile); - } -#endif else { cpp_error (pfile, @@ -5105,11 +5087,7 @@ cpp_start_read (pfile, fname) } /* Supply our own suffix. */ -#ifndef VMS strcpy (q, ".o"); -#else - strcpy (q, ".obj"); -#endif deps_output (pfile, p, ':'); deps_output (pfile, opts->in_fname, ' '); @@ -6515,22 +6493,11 @@ my_strerror (errnum) { char *result; -#ifndef VMS #ifndef HAVE_STRERROR result = (char *) ((errnum < sys_nerr) ? sys_errlist[errnum] : 0); #else result = strerror (errnum); #endif -#else /* VMS */ - /* VAXCRTL's strerror() takes an optional second argument, which only - matters when the first argument is EVMSERR. However, it's simplest - just to pass it unconditionally. `vaxc$errno' is declared in - , and maintained by the library in parallel with `errno'. - We assume that caller's `errnum' either matches the last setting of - `errno' by the library or else does not have the value `EVMSERR'. */ - - result = strerror (errnum, vaxc$errno); -#endif if (!result) result = "undocumented I/O error"; -- cgit v1.2.3