2005-03-08 Nicolas Setton <setton@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2005 15:51:35 +0000 (15:51 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Mar 2005 15:51:35 +0000 (15:51 +0000)
* 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

gcc/ada/tracebak.c

index 83d51cc..1cd4a0f 100644 (file)
@@ -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