* raise-gcc: Include dwarf2.h conditionally.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2009 09:50:52 +0000 (09:50 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2009 09:50:52 +0000 (09:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149084 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/raise-gcc.c

index 1374c4c..44bf3e1 100644 (file)
@@ -1,3 +1,7 @@
+2009-06-30  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * raise-gcc: Include dwarf2.h conditionally.
+       
 2009-06-29  Tom Tromey  <tromey@redhat.com>
 
        * raise-gcc.c: Include elf/dwarf2.h.
index b30145a..ca20709 100644 (file)
@@ -96,7 +96,11 @@ __gnat_Unwind_ForcedUnwind (_Unwind_Exception *, void *, void *);
 
 #ifdef IN_RTS   /* For eh personality routine */
 
+#if (__GNUC__ * 10 + __GNUC_MINOR__ > 44)
 #include "elf/dwarf2.h"
+#else
+#include "dwarf2.h"
+#endif
 #include "unwind-dw2-fde.h"
 #include "unwind-pe.h"