aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/tracebak.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r--gcc/ada/tracebak.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 0df46e2..5c9b9f6 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -327,7 +327,9 @@ extern unsigned int _image_base__;
#define VALID_STACK_FRAME(ptr) 1
#endif
+#ifndef MAX
#define MAX(x,y) ((x) > (y) ? (x) : (y))
+#endif
/* Define a dummy function to call if FORCE_CALL is defined. Don't
define it otherwise, as this could lead to "defined but not used"