summaryrefslogtreecommitdiffstats
path: root/multiarch-dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'multiarch-dispatch.h')
-rw-r--r--multiarch-dispatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/multiarch-dispatch.h b/multiarch-dispatch.h
index be91bb2..8d9ac5d 100644
--- a/multiarch-dispatch.h
+++ b/multiarch-dispatch.h
@@ -25,7 +25,7 @@
#include _MULTIARCH_MAKE_HEADER(ppc64,_MULTIARCH_HEADER)
#elif defined(__powerpc__)
#include _MULTIARCH_MAKE_HEADER(ppc,_MULTIARCH_HEADER)
-#elif defined(__sparc_v9__)
+#elif defined(__sparc__) && defined(__arch64__)
#include _MULTIARCH_MAKE_HEADER(sparc64,_MULTIARCH_HEADER)
#elif defined(__sparc__)
#include _MULTIARCH_MAKE_HEADER(sparc,_MULTIARCH_HEADER)