summaryrefslogtreecommitdiff
path: root/test/tls/tls-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/tls/tls-macros.h')
-rw-r--r--test/tls/tls-macros.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/tls/tls-macros.h b/test/tls/tls-macros.h
index 71e8ef4..47e0b22 100644
--- a/test/tls/tls-macros.h
+++ b/test/tls/tls-macros.h
@@ -56,10 +56,14 @@
#include <tls-macros-mips.h>
#endif
-#ifdef __powerpc__
+#if defined(__powerpc__) && !defined(__powerpc64__)
#include <tls-macros-powerpc.h>
#endif
+#if defined(__powerpc__) && defined(__powerpc64__)
+#include <tls-macros-powerpc64.h>
+#endif
+
#ifdef __sh__
#include <tls-macros-sh.h>
#endif