diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-06-30 09:50:52 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-06-30 09:50:52 +0000 |
commit | a2350322f0a666dc37acee9f3b30d6282fe4f71c (patch) | |
tree | 11167eb118bd26eab156633a7fec889e35de20da /gcc/ada/raise-gcc.c | |
parent | ef12ae452a2db8be0ebe244da2afe3ce24564d5b (diff) | |
download | gcc-a2350322f0a666dc37acee9f3b30d6282fe4f71c.zip gcc-a2350322f0a666dc37acee9f3b30d6282fe4f71c.tar.gz gcc-a2350322f0a666dc37acee9f3b30d6282fe4f71c.tar.bz2 |
* raise-gcc: Include dwarf2.h conditionally.
From-SVN: r149084
Diffstat (limited to 'gcc/ada/raise-gcc.c')
-rw-r--r-- | gcc/ada/raise-gcc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/raise-gcc.c b/gcc/ada/raise-gcc.c index b30145a..ca20709 100644 --- a/gcc/ada/raise-gcc.c +++ b/gcc/ada/raise-gcc.c @@ -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" |