summaryrefslogtreecommitdiff
path: root/gcc/ada/tracebak.c
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-15 15:51:35 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-15 15:51:35 +0000
commitd873da29f46ee2f4a7156c79cbbf775be880d4bf (patch)
tree37eacb111555e4882ac732f8513cdf3cac1014d0 /gcc/ada/tracebak.c
parentba706ed34e2e2dd8c6149106a4ca9f680df9f88e (diff)
downloadgcc-d873da29f46ee2f4a7156c79cbbf775be880d4bf.tar.gz
2005-03-08 Nicolas Setton <setton@adacore.com>
* tracebak.c: Under Darwin, use the same unwinding mechanisms as under PPC/AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96485 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/tracebak.c')
-rw-r--r--gcc/ada/tracebak.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 83d51ccfd28..1cd4a0f2588 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -6,7 +6,7 @@
* *
* C Implementation File *
* *
- * Copyright (C) 2000-2004 Ada Core Technologies, Inc. *
+ * Copyright (C) 2000-2005 Ada Core Technologies, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -191,9 +191,9 @@ extern void (*Unlock_Task) (void);
*/
-/*------------------------------ PPC AIX -------------------------------*/
+/*--------------------------- PPC AIX/Darwin ----------------------------*/
-#if defined (_AIX)
+#if (defined (__ppc__) && ((defined (_AIX) || defined (__APPLE__))))
#define USE_GENERIC_UNWINDER