diff options
| author | Kurt Roeckx <[email protected]> | 2014-04-22 21:46:22 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2014-04-23 10:56:01 +0200 |
| commit | 02cefdaa6429e620d6457fdb3ad9934f194c5a93 (patch) | |
| tree | 7825fc20716a17ec96529d0b9e289ed549bf3185 /tests/backtrace-data.c | |
| parent | 3232479483cad695d1872b879128a23da3953a7d (diff) | |
Unwinding is only supported on Linux
Signed-off-by: Kurt Roeckx <[email protected]>
Diffstat (limited to 'tests/backtrace-data.c')
| -rw-r--r-- | tests/backtrace-data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backtrace-data.c b/tests/backtrace-data.c index dd74160a..01c1c004 100644 --- a/tests/backtrace-data.c +++ b/tests/backtrace-data.c @@ -40,7 +40,7 @@ #include <string.h> #include ELFUTILS_HEADER(dwfl) -#ifndef __x86_64__ +#if !defined(__x86_64__) || !defined(__linux__) int main (int argc __attribute__ ((unused)), char **argv) @@ -50,7 +50,7 @@ main (int argc __attribute__ ((unused)), char **argv) return 77; } -#else /* __x86_64__ */ +#else /* __x86_64__ && __linux__ */ /* The only arch specific code is set_initial_registers. */ |
