This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Ada fixes for mingw32- tracebak.c (4/6)


Another one,

This prevents a warning about redefinition of MAX (already defined in system.h,
when in !IN_RTS)

Danny


ada/Changelog

2003-10-22  Danny Smith  <dannysmith@users.sourceforge.net>

	* tracebak.c (MAX):  Undef before defining.

Index: tracebak.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/tracebak.c,v
retrieving revision 1.6
diff -c -3 -p -r1.6 tracebak.c
*** tracebak.c	21 Oct 2003 13:42:23 -0000	1.6
--- tracebak.c	22 Oct 2003 07:41:22 -0000
*************** extern unsigned int _image_base__;
*** 327,332 ****
--- 327,333 ----
  #define VALID_STACK_FRAME(ptr) 1
  #endif
  
+ #undef MAX
  #define MAX(x,y) ((x) > (y) ? (x) : (y))
  
  /* Define a dummy function to call if FORCE_CALL is defined.  Don't

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]