From 4b7bc656a7f628adc5e79387ca363b88d96c77c5 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 7 Nov 1993 10:16:11 +0000 Subject: [PATCH] (__MAIN_NAME): Define as " main(" rather rather than " main (" to reflect current cc1plus. From-SVN: r6036 --- gcc/config/vax/vms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/vax/vms.h b/gcc/config/vax/vms.h index 4805d95849c4..fc2ff4b4dc5a 100644 --- a/gcc/config/vax/vms.h +++ b/gcc/config/vax/vms.h @@ -86,14 +86,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ if (newsize >= 64) fprintf (FILE, "\tmovab %d(sp),sp\n", -newsize);\ else fprintf (FILE, "\tsubl2 $%d,sp\n", newsize); } -#define __MAIN_NAME " main (" +#define __MAIN_NAME " main(" /* * The MAYBE_VMS_FUNCTION_PROLOGUE macro works for both gcc and g++. It * first checks to see if the current routine is "main", which will only * happen for GCC, and add the jsb if it is. If is not the case then try and * see if __MAIN_NAME is part of current_function_name, which will only happen * if we are running g++, and add the jsb if it is. In gcc there should never - * be a space in the function name, and in g++ there is always a "(" in the + * be a paren in the function name, and in g++ there is always a "(" in the * function name, thus there should never be any confusion. * * Adjusting the stack pointer by 4 before calling C$MAIN_ARGS is required -- 2.43.5