libunwind.h.in 762 B

123456789101112131415161718192021222324252627282930
  1. /* Provide a real file - not a symlink - as it would cause multiarch conflicts
  2. when multiple different arch releases are installed simultaneously. */
  3. #ifndef UNW_REMOTE_ONLY
  4. #if defined __arm__
  5. # include "libunwind-arm.h"
  6. #elif defined __hppa__
  7. # include "libunwind-hppa.h"
  8. #elif defined __ia64__
  9. # include "libunwind-ia64.h"
  10. #elif defined __mips__
  11. # include "libunwind-mips.h"
  12. #elif defined __powerpc__ && !defined __powerpc64__
  13. # include "libunwind-ppc32.h"
  14. #elif defined __powerpc64__
  15. # include "libunwind-ppc64.h"
  16. #elif defined __i386__
  17. # include "libunwind-x86.h"
  18. #elif defined __x86_64__
  19. # include "libunwind-x86_64.h"
  20. #else
  21. # error "Unsupported arch"
  22. #endif
  23. #else /* UNW_REMOTE_ONLY */
  24. # include "libunwind-@arch@.h"
  25. #endif /* UNW_REMOTE_ONLY */